FWView
@protocol FWView <NSObject>
视图挂钩协议,可覆写
-
渲染初始化方法,init自动调用,默认未实现
Declaration
Objective-C
- (void)renderInit;
-
渲染视图方法,init自动调用,默认未实现
Declaration
Objective-C
- (void)renderView;
-
渲染布局方法,init自动调用,默认未实现
Declaration
Objective-C
- (void)renderLayout;
-
渲染数据方法,init和viewModel改变时自动调用,默认未实现
Declaration
Objective-C
- (void)renderData;
-
渲染事件方法,事件完成时自动调用,默认未实现
Declaration
Objective-C
- (void)renderEvent:(nonnull NSNotification *)notification;