PTRubberStampViewController

@interface PTRubberStampViewController : UIViewController <PTOverridable, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout>

/**
 * The collection view object managed by this view controller.
 */
@property (nonatomic, readonly, strong) UICollectionView *collectionView;

/**
 * Whether editing of thumbnails is allowed. The default is `YES`.
 */
@property (nonatomic, assign, getter=isEditingEnabled) BOOL editingEnabled;

/**
 * Whether editing of thumbnails is supported. Some modes of opperation do not support editing
 * and so the edit button will be disabled even if `editingEnabled` is true.
*/
@property (nonatomic, assign, readonly, getter=isEditingSupported) BOOL editingSupported;

/**
 * The rubber stamp manager used by the `PTRubberStampViewController`
 */
@property (nonatomic, readonly, strong) PTRubberStampManager* rubberStampManager;

/**
 * The PTRubberStampViewController object's delegate.
 */
@property (nonatomic, weak) id<PTRubberStampViewControllerDelegate> delegate;

@end

Undocumented

  • The collection view object managed by this view controller.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        UICollectionView *_Nonnull collectionView;

    Swift

    var collectionView: UICollectionView { get }
  • Whether editing of thumbnails is allowed. The default is YES.

    Declaration

    Objective-C

    @property (getter=isEditingEnabled, assign, readwrite, nonatomic)
        BOOL editingEnabled;

    Swift

    var isEditingEnabled: Bool { get set }
  • Whether editing of thumbnails is supported. Some modes of opperation do not support editing and so the edit button will be disabled even if editingEnabled is true.

    Declaration

    Objective-C

    @property (readonly, getter=isEditingSupported, assign, nonatomic)
        BOOL editingSupported;

    Swift

    var isEditingSupported: Bool { get }
  • The rubber stamp manager used by the PTRubberStampViewController

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        PTRubberStampManager *_Nonnull rubberStampManager;

    Swift

    var rubberStampManager: PTRubberStampManager { get }
  • The PTRubberStampViewController object’s delegate.

    Declaration

    Objective-C

    @property (readwrite, nonatomic)
        id<PTRubberStampViewControllerDelegate> _Nullable delegate;

    Swift

    weak var delegate: PTRubberStampViewControllerDelegate? { get set }