TuSDKPFPaintTableViewInterface Protocol Reference

Conforms to NSObject
Declared in TuSDKPFPaintBarViewBase.h

Overview

笔刷列表接口

  delegate required method

笔刷分组列表行视图委托

@property (nonatomic, weak) id<TuSDKPFPaintTableViewDelegate> delegate

Availability

v3.1.0

Declared In

TuSDKPFPaintBarViewBase.h

– lsqInitView required method

初始化视图

- (void)lsqInitView

Availability

v3.1.0

Declared In

TuSDKPFPaintBarViewBase.h

  cellViewClazz required method

滤镜分组元素视图类 (默认:TuSDKCPGroupFilterItemCell, 需要继承 UITableViewCell)

@property (nonatomic, strong) Class cellViewClazz

Availability

v3.1.0

Declared In

TuSDKPFPaintBarViewBase.h

  cellWidth required method

行视图宽度

@property (nonatomic) CGFloat cellWidth

Availability

v3.1.0

Declared In

TuSDKPFPaintBarViewBase.h

  modeList required method

数据列表

@property (nonatomic, retain) NSArray *modeList

Availability

v3.1.0

Declared In

TuSDKPFPaintBarViewBase.h

– selectPostion:scrollToCenter:reload: required method

选中索引

- (void)selectPostion:(NSUInteger)position scrollToCenter:(BOOL)toCenter reload:(BOOL)reload

Parameters

position

索引

toCenter

是否滚动到中心位置

reload

是否刷新数据

Availability

v3.1.0

Declared In

TuSDKPFPaintBarViewBase.h

– changeSelectPostion:scrollToCenter:anim: required method

改变选中索引

- (void)changeSelectPostion:(NSUInteger)position scrollToCenter:(BOOL)toCenter anim:(BOOL)anim

Parameters

position

索引

toCenter

是否滚动到中心位置

anim

是否使用动画

Availability

v3.1.0

Declared In

TuSDKPFPaintBarViewBase.h

– reloadData required method

刷新数据

- (void)reloadData

Availability

v3.1.0

Declared In

TuSDKPFPaintBarViewBase.h

– indexPathForSelectedRow required method

同 tableViewDelegate

- (NSIndexPath *)indexPathForSelectedRow

Availability

v3.1.0

Declared In

TuSDKPFPaintBarViewBase.h