- Display a list using a
UICollectionView
- Segue from a tapped cell to a detail view controller
- Drag a collection view (not a controller!) on to the existing view controller named,
HellaViewController
. - Populate your collection view with 100 cells.
- If the index of the cell is included in the Fibonacci Sequence, set the cell background color to purple. Otherwise set it to yellow.
- When a cell is tapped, it should take the user to a new view controller named
HellaDetailViewController
. The index number should be dislayed as a string of a label's text property. Additionally, the view's background color (not the label's) should be set to the corresponding color.
View Hella Cells on Learn.co and start learning to code for free.