I need to implement a grid view of images that requires each segment to segue to another view controller /or View.
My parameters:
I need 260 segments: approx 18px x 18px
Each segment will be numbered (1-260) and have a diffrent (background) image
One segment must be highlighted (a daily square like ical)
You can tap any segment to segue to the next view controller
I have looked at custom TVCells / Buttons but are there more options out there?
Thank you
In the end I opted for:
storyboard and naming the seque.identifier in the attributes.
To change the buttons’ backgroundImage daily I set up a day-counter integer
and in the viewDidLoad of the 1stVC coded:
As there were multiple UIButtons, I decided that dragging them all to a IBAction in IB was too long a task so I assinged them programatically using:
Then used performSegueWithIdentifier: in a method: