CKImageComponent Class Reference

Inherits from CKComponent : NSObject
Declared in CKImageComponent.h

Overview

A component that displays an image using UIImageView.

+ newWithImage:

Uses a static layout with the image’s size.

+ (instancetype)newWithImage:(UIImage *)image

Declared In

CKImageComponent.h

+ newWithImage:size:

Uses a static layout with the given image size.

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

Declared In

CKImageComponent.h