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 (nonatomic, strong, readonly) UICollectionView *_Nonnull collectionView;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite,
              getter=isEditingEnabled) 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 (nonatomic, assign, unsafe_unretained, readonly,
              getter=isEditingSupported) BOOL editingSupported;

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    weak var delegate: (any PTRubberStampViewControllerDelegate)? { get set }