TuSDKPFPhotoGridProtocol Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TuSDKPFPhotosGridView.h |
– onTuSDKPFPhotoGridAssetSelected:atIndexPath:
required method
单元格被选中
- (void)onTuSDKPFPhotoGridAssetSelected:(id)asset atIndexPath:(NSIndexPath *)indexPath
Parameters
asset |
单元格对象 |
---|---|
indexPath |
单元格索引 |
Declared In
TuSDKPFPhotosGridView.h
– onTuSDKPFPhotoGridAssetClicked:atIndexPath:
required method
单元格被点击,跳转到预览视图
- (void)onTuSDKPFPhotoGridAssetClicked:(id)asset atIndexPath:(NSIndexPath *)indexPath
Parameters
asset |
单元格对象 |
---|---|
indexPath |
单元格索引 |
Declared In
TuSDKPFPhotosGridView.h
– getSelectedItem
required method
获取选中的单元格列表
- (NSMutableArray<TuSDKTSPhotosGridCellData*> *)getSelectedItem
Discussion
@return
Declared In
TuSDKPFPhotosGridView.h