- What is the difference between tableView and Collectionview?
- How do I customize swipe edit buttons in UITableView?
What is the difference between tableView and Collectionview?
When would you choose to use a collection view rather than a table view? Suggested approach: Collection views are there to display grids, but also handle entirely custom layouts, whereas table views are simple linear lists with headers and footers.
How do I customize swipe edit buttons in UITableView?
As of iOS 8.0 there's an easy way to customize the list of buttons that appear when the user swipes from right to left: editActionsForRowAt . Return an array of UITableViewRowAction objects that have titles and styles (and also background colors if you want to customize their appearance), and iOS does the rest.