Let's play with a few more CocoaPods that I think are pretty great.
- Create a new Project and add SWTableViewCell and APParallaxHeader Pods to it.
- Drop in a
UITableViewCell
and implement both the parallax header (like twitter!) and the swipeable cells. Read documentation, play with the example app, etc.
- The cell returns the button presses using a delegate. Add
<SWTableViewCellDelegate>
in the header declaration and implement this method(void)swipeableTableViewCell:(SWTableViewCell *)cell didTriggerRightUtilityButtonWithIndex:(NSInteger)index;
.
View Flashy Tableviews on Learn.co and start learning to code for free.