IGListKit-Class-Diagram
2017-03-06 15:35:05 0 举报
IGListKit是一个用于构建高性能列表的iOS框架。它提供了丰富的功能,如自动布局、动画和刷新控制等。在IGListKit的类图中,可以看到一些主要的类和它们之间的关系。 其中,IGListAdapter是核心类之一,它负责将数据源与UIKit视图进行绑定。IGListSectionController则用于管理列表中的分区,它可以将数据源分割成多个部分,并实现每个部分的显示和隐藏。此外,还有IGListCollectionViewLayout类,它负责为列表视图提供定制的布局方案。 总之,IGListKit是一个非常强大的工具,可以帮助开发者快速构建高性能的列表应用程序。
作者其他创作
大纲/内容
Implement this protocol to provide data to an `IGListAdapter`.
IGListAdapterUpdaterDelegate
The base class for section controllers used in a list. This class is intended to be subclassed.
IGListSectionController
+ attribute1:type = defaultValue+ attribute2:type- attribute3:type
+ operation1(params):returnType- operation2(params)- operation3()
NSObject
IGListAdapter
- (weak) UIViewController *viewController- (weak) IGListCollectionView *collectionView- (weak) id dataSource- (weak) id delegate- (weak) id collectionViewDelegate- (weak) id scrollViewDelegate- IGListExperiment experiments- (strong) id updatingDelegate
IGListAdapterDataSource
- (NSArrayid *)objectsForListAdapter:(IGListAdapter *)listAdapter;- (IGListSectionController *)listAdapter:(IGListAdapter *)listAdapter sectionControllerForObject:(id)object;- (nullable UIView *)emptyViewForListAdapter:(IGListAdapter *)listAdapter;
IGListAdapterDelegate
- (void)listAdapter:(IGListAdapter *)listAdapter willDisplayObject:(id)object atIndex:(NSInteger)index;- (void)listAdapter:(IGListAdapter *)listAdapter didEndDisplayingObject:(id)object atIndex:(NSInteger)index;
Conform to `IGListAdapterDelegate` to receive display events for objects in a list.
IGListAdapterUpdater
- id delegate
IGListUpdatingDelegate
收藏
0 条评论
下一页