CKComponentHostingView Class Reference
Inherits from | UIView |
---|---|
Declared in | CKComponentHostingView.h |
delegate
Notified when the view’s ideal size (measured by -sizeThatFits:) may have changed.
@property (nonatomic, weak) id<CKComponentHostingViewDelegate> delegate
Declared In
CKComponentHostingView.h
– initWithComponentProvider:sizeRangeProvider:
Designated initializer.
- (instancetype)initWithComponentProvider:(Class<CKComponentProvider>)componentProvider sizeRangeProvider:(id<CKComponentSizeRangeProviding>)sizeRangeProvider
Declared In
CKComponentHostingView.h
– updateModel:mode:
Updates the model used to render the component.
- (void)updateModel:(id<NSObject>)model mode:(CKUpdateMode)mode
Declared In
CKComponentHostingView.h
– updateContext:mode:
Updates the context used to render the component.
- (void)updateContext:(id<NSObject>)context mode:(CKUpdateMode)mode
Declared In
CKComponentHostingView.h