CKBackgroundLayoutComponent Class Reference

Inherits from CKLayoutComponent : CKComponent : NSObject
Declared in CKBackgroundLayoutComponent.h

Overview

@uidocs https://fburl.com/CKBackgroundLayoutComponent:bf91

Lays out a single child component, then lays out a background component behind it stretched to its size.

– initWithComponent:background:

A child that is laid out to determine the size of this component.

- (instancetype)initWithComponent:(CKComponent *_Nullable)component background:(CKComponent *_Nullable)background

Parameters

component

A child that is laid out to determine the size of this component.

background

A child that is laid out behind it. May be nil, in which case the background is omitted.

Declared In

CKBackgroundLayoutComponent.h