Index

RBPhotoView.h

Protocols

Classes


RBPhotoView

An image selection form field.

Properties

The placeholder image to display when there is no image selected.
public emptyImage UIImage? { get set }

The margin to display around the placeholder image.
public emptyImageMargin UIEdgeInsets { get set }

The margin to display around the buttons.
public buttonMargins UIEdgeInsets { get set }

The spacing between buttons.
public buttonSpacing Float { get set }

The current value of the image field.
public currentValue UIImage? { get set }

Whether or not the camera button is to be displayed. Default = YES.
public hasCameraButton Bool { get set }

Whether or not the library button is to be displayed. Default = YES.
public hasLibraryButton Bool { get set }

Whether or not the imageView should be displayed. Default = YES.
public hasImageView Bool { get set }

The delegate to receive image selection events.
public weak delegate RBPhotoViewDelegate? { get set }