CKImageComponent Class Reference

Inherits from CKComponent : NSObject
Declared in CKImageComponent.h

Overview

A component that displays an image using UIImageView.

– initWithImage:attributes:size:

Uses a static layout with the given image size and applies additional attributes.

- (instancetype)initWithImage:(UIImage *)image attributes:(const CKViewComponentAttributeValueMap &)attributes size:(const CKComponentSize &)size

Declared In

CKImageComponent.h