RBImageSelectionFieldItem Class Reference

Inherits from NSObject
Declared in RBImageSelectionFieldItem.h

Overview

An image item for an RBImageSelectionField object.

  url

The url to the image.

@property (nonatomic, readonly, nullable) NSURL *url

Declared In

RBImageSelectionFieldItem.h

  image

The image object.

@property (nonatomic, readonly, nullable) UIImage *image

Declared In

RBImageSelectionFieldItem.h

– initWithUrl:

Initializes a new image item with an image url.

- (nonnull instancetype)initWithUrl:(nonnull NSURL *)url

Parameters

url

The url to the image.

Return Value

The initialized image item.

Declared In

RBImageSelectionFieldItem.h

– initWithImage:

Initializes a new image item with a UIImage object.

- (nonnull instancetype)initWithImage:(nonnull UIImage *)image

Parameters

image

The UIImage object.

Return Value

The initialized image item.

Declared In

RBImageSelectionFieldItem.h