Reputation: 863
I've just started messing around with UICollectionViews and layouts. I'm wondering how I can accomplish the following:
Tapping on cell located on the 2nd row, middle column would expand that cell into the frame you see as red. Doing this basically switches cells (I guess it can be done this way?) while the other ones reposition themselves with his newly added cell.
Any ideas? PS: The best way to describe this is the way Twitter #music does the cell animation when tapped.
Upvotes: 1
Views: 248
Reputation: 16168
Have some custom cells like a uiTableView
on
cellForRowAtIndexPath == 4
have the cell look like you want to, set layout, height for this cell too!
just use like it was a normal uiTableView
Upvotes: 1