Nimbus
0.9.3 - Nimbus is proudly hosted on Github
An iOS framework whose growth is bounded by O(documentation).
|
An object for efficiently reusing views by recycling and dequeuing them from a pool of views.
This sort of object is what UITableView and NIPagingScrollView use to recycle their views.
Definition at line 71 of file NIViewRecycler.h.
Methods | |
(UIView< NIRecyclableView > *) | - dequeueReusableViewWithIdentifier: |
(void) | - recycleView: |
(void) | - removeAllViews |
- (UIView< NIRecyclableView > *) dequeueReusableViewWithIdentifier: | (NSString *) | reuseIdentifier |
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. |
Definition at line 77 of file NIViewRecycler.m.
- (void) recycleView: | (UIView<NIRecyclableView> *) | view |
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. |
Definition at line 92 of file NIViewRecycler.m.
- (void) removeAllViews |
Removes all of the views from the recycled views pool.
Definition at line 118 of file NIViewRecycler.m.