RFSImage

Objective-C


@interface RFSImage : NSObject

Swift

class Image : NSObject

The Image class wraps regular UIImage and provides more information to the input and output data.

  • Unique identifier for Image object. UUID with RFC 4122 version 4 random by such as “E621E1F8-C36C-495A-93FC-0C247A3E6E5F”.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSString *identifier;

    Swift

    var identifier: String { get }
  • The underlying image.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) UIImage *image;

    Swift

    var image: UIImage { get }
  • The image type.

    Declaration

    Objective-C

    @property (nonatomic, readonly) RFSImageType imageType;

    Swift

    var imageType: ImageType { get }
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    RFS_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    RFS_EMPTY_INIT_UNAVAILABLE
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithImage:(nonnull UIImage *)image type:(RFSImageType)imageType NS_DESIGNATED_INITIALIZER;

    Swift

    init(image: UIImage, type imageType: ImageType)