Uicollectionview is a new data display method. In short, it can be understood as a uitableview with multiple columns. If you have used ibooks, you may still have a certain impression on the layout of the bookshelves. There is a virtual bookshelves with all kinds of books you have downloaded and purchased, neatly arranged. In fact, this is a form of uicollectionview, or various clocks in the iOS 6 native clock application of the iPad, which is also the simplest layout of uicollectionview.
Introduction to set view uicollectionview
The set view uicollectionview is similar to the table view uitableview. You can set the layout attribute to display the content of the Cell set. The uicollectionviewdatasource class acts as the data source of the set view and provides data to the set view. The set view depends on the method defined in the delegate to respond to user interaction.
The three elements that constitute the set view are: Cell (uicollectionviewcell), supplemental view (supplementary views-display additional metadata information), and decoration view (decoration views ).
About the collection view uicollectionviewArticle:
Part 1: uicollectionview-create a set view cell using the XIB File
Part 1: uicollectionview-create a cell of the uicollectionviewcell subclass
Part 1: uicollectionview-create a storyboard-based collection view application
Part 2: uicollectionview- lementary View)
Part 1: uicollectionview-delete a collection View data item
Part 1: uicollectionview-Add a cell Detail View
Sample iOS 6 app running interface: