NimbusKit
1.2.1 - Fork Nimbus on Github - Visit the Nimbus Wiki
The iOS framework that grows only as fast as its documentation
|
An object for efficiently reusing views by recycling and dequeuing them from a pool of views.
This sort of object is likely what UITableView and NIPagingScrollView use to recycle their views.
Tasks | |
(UIView< NIRecyclableView > *) | - dequeueReusableViewWithIdentifier: |
(void) | - recycleView: |
(void) | - removeAllViews |
Dequeues a reusable view from the recycled views pool if one exists, otherwise returns nil.
reuseIdentifier | Often the name of the class of view you wish to fetch. |
Adds a given view to the recycled views pool.
view | The view to recycle. The reuse identifier will be retrieved from the view via the NIRecyclableView protocol. |
Removes all of the views from the recycled views pool.