TuSDKTSALAssetsGroupedCTD Class Reference

Inherits from NSObject
Declared in TuSDKTSALAssetsGrouped+CreateTimeDesc.h

Overview

相片创建时间倒序分组

  count

照片总数

@property (nonatomic, readonly) NSUInteger count

Declared In

TuSDKTSALAssetsGrouped+CreateTimeDesc.h

  sections

分组列表

@property (nonatomic, readonly) NSArray *sections

Declared In

TuSDKTSALAssetsGrouped+CreateTimeDesc.h

  items

分组数据

@property (nonatomic, readonly) NSArray<NSArray<TuSDKTSAssetInterface> *> *items

Declared In

TuSDKTSALAssetsGrouped+CreateTimeDesc.h

+ groupedWithAssetsGroup:

创建相片时间分组

+ (instancetype)groupedWithAssetsGroup:(id<TuSDKTSAssetsGroupInterface>)group

Parameters

group

相册组

Return Value

相册组相片时间分组

Declared In

TuSDKTSALAssetsGrouped+CreateTimeDesc.h

+ groupedWithAssets:

创建相片时间分组

+ (instancetype)groupedWithAssets:(NSArray<TuSDKTSAssetInterface> *)assets

Parameters

assets

相片列表

Return Value

相册组相片时间分组

Declared In

TuSDKTSALAssetsGrouped+CreateTimeDesc.h

– countRowInSection:withLimit:

获取组内有多少行数据

- (NSUInteger)countRowInSection:(NSInteger)section withLimit:(NSUInteger)limit

Parameters

section

组索引

limit

每行最多允许个数

Return Value

组内有多少行数据

Declared In

TuSDKTSALAssetsGrouped+CreateTimeDesc.h

– rowDatasIndexPath:withLimit:

获取组内行数据

- (NSArray<TuSDKTSAssetInterface> *)rowDatasIndexPath:(NSIndexPath *)indexPath withLimit:(NSUInteger)limit

Parameters

indexPath

表格索引

limit

每行最多允许个数

Return Value

组内行数据

Declared In

TuSDKTSALAssetsGrouped+CreateTimeDesc.h