CKImageComponent Class Reference

Inherits from CKComponent : NSObject
Declared in CKImageComponent.h

Overview

A component that displays an image using UIImageView.

+ newWithImage:attributes:size:

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

+ (instancetype)newWithImage:(UIImage *)image attributes:(const CKViewComponentAttributeValueMap &)attributes size:(const CKComponentSize &)size

Declared In

CKImageComponent.h