CKBackgroundLayoutComponent Class Reference
Inherits from | CKComponent : NSObject |
---|---|
Declared in | CKBackgroundLayoutComponent.h |
Overview
Lays out a single child component, then lays out a background component behind it stretched to its size.
+ newWithComponent:background:
A child that is laid out to determine the size of this component. If this is nil, then this method returns nil.
+ (instancetype)newWithComponent:(CKComponent *)component background:(CKComponent *)background
Parameters
component |
A child that is laid out to determine the size of this component. If this is nil, then this method returns nil. |
---|---|
background |
A child that is laid out behind it. May be nil, in which case the background is omitted. |
Declared In
CKBackgroundLayoutComponent.h