TuSDKPFEditFilterController Class Reference

Inherits from TuSDKPFEditFilterControllerBase
Conforms to TuSDKPFEditFilterGroupDelegate
Declared in TuSDKPFEditFilterController.h

Overview

图片编辑滤镜控制器

  defaultStyleView

默认样式视图 (如果覆盖 buildDefaultStyleView 方法,实现了自己的视图,defaultStyleView == nil)

@property (nonatomic, readonly) TuSDKPFEditFilterView *defaultStyleView

Declared In

TuSDKPFEditFilterController.h

  delegate

图片编辑滤镜控制器委托

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

Declared In

TuSDKPFEditFilterController.h

  viewClazz

视图类 (默认:TuSDKPFEditFilterView, 需要继承 TuSDKPFEditFilterView)

@property (nonatomic, strong) Class viewClazz

Declared In

TuSDKPFEditFilterController.h

  filterGroup

需要显示的滤镜名称列表 (如果为空将显示所有自定义滤镜)

@property (nonatomic, retain) NSArray *filterGroup

Declared In

TuSDKPFEditFilterController.h

  filterBarCellWidth

滤镜列表行视图宽度

@property (nonatomic) CGFloat filterBarCellWidth

Declared In

TuSDKPFEditFilterController.h

  filterBarHeight

滤镜列表选择栏高度

@property (nonatomic) CGFloat filterBarHeight

Declared In

TuSDKPFEditFilterController.h

  filterBarGroupCellClazz

滤镜分组列表行视图类 (默认:TuSDKCPGroupFilterGroupCell, 需要继承 TuSDKCPGroupFilterGroupCell)

@property (nonatomic, strong) Class filterBarGroupCellClazz

Declared In

TuSDKPFEditFilterController.h

  filterBarTableCellClazz

滤镜列表行视图类 (默认:TuSDKCPGroupFilterItemCell, 需要继承 TuSDKCPGroupFilterItemCell)

@property (nonatomic, strong) Class filterBarTableCellClazz

Declared In

TuSDKPFEditFilterController.h

  enableFilterConfig

开启滤镜配置选项 (默认: 开启)

@property (nonatomic) BOOL enableFilterConfig

Declared In

TuSDKPFEditFilterController.h

  enableFilterHistory

开启滤镜历史记录

@property (nonatomic) BOOL enableFilterHistory

Declared In

TuSDKPFEditFilterController.h

  enableNormalFilter

开启无效果滤镜 (默认: 开启)

@property (nonatomic) BOOL enableNormalFilter

Declared In

TuSDKPFEditFilterController.h

  enableOnlineFilter

开启在线滤镜

@property (nonatomic) BOOL enableOnlineFilter

Declared In

TuSDKPFEditFilterController.h

  displayFilterSubtitles

显示滤镜标题视图

@property (nonatomic) BOOL displayFilterSubtitles

Declared In

TuSDKPFEditFilterController.h

  onlineControllerClazz

在线滤镜控制器类型 (需要继承 UIViewController,以及实现TuSDKCPFilterOnlineControllerInterface接口)

@property (nonatomic) Class onlineControllerClazz

Declared In

TuSDKPFEditFilterController.h

  isRenderFilterThumb

是否渲染滤镜封面 (使用设置的滤镜直接渲染,需要拥有滤镜列表封面设置权限,请访问TUTUCLOUD.com控制台)

@property (nonatomic) BOOL isRenderFilterThumb

Declared In

TuSDKPFEditFilterController.h

– configWithGroupFilterView:

配置滤镜栏视图

- (void)configWithGroupFilterView:(TuSDKCPGroupFilterBaseView *)view

Parameters

view

滤镜栏视图

Declared In

TuSDKPFEditFilterController.h