@@ -35,24 +35,25 @@ NS_ASSUME_NONNULL_BEGIN
35
35
36
36
/* The 'Done' buttons to commit the crop. The text button is displayed
37
37
in portrait mode and the icon one, in landscape. */
38
- @property (nonnull , nonatomic , strong , readonly ) UIButton *doneTextButton;
39
- @property (nonnull , nonatomic , strong , readonly ) UIButton *doneIconButton;
40
- @property (nonnull , nonatomic , copy ) NSString *doneTextButtonTitle;
38
+ @property (nonatomic , strong , readonly ) UIButton *doneTextButton;
39
+ @property (nonatomic , strong , readonly ) UIButton *doneIconButton;
40
+ @property (nonatomic , copy ) NSString *doneTextButtonTitle;
41
41
42
42
43
43
/* The 'Cancel' buttons to cancel the crop. The text button is displayed
44
44
in portrait mode and the icon one, in landscape. */
45
- @property (nonnull , nonatomic , strong , readonly ) UIButton *cancelTextButton;
46
- @property (nonnull , nonatomic , strong , readonly ) UIButton *cancelIconButton;
47
- @property (nonnull , nonatomic , copy ) NSString *cancelTextButtonTitle;
45
+ @property (nonatomic , strong , readonly ) UIButton *cancelTextButton;
46
+ @property (nonatomic , strong , readonly ) UIButton *cancelIconButton;
47
+ @property (nonatomic , readonly ) UIView *visibleCancelButton;
48
+ @property (nonatomic , copy ) NSString *cancelTextButtonTitle;
48
49
49
50
/* The cropper control buttons */
50
- @property (nonnull , nonatomic , strong , readonly ) UIButton *rotateCounterclockwiseButton;
51
- @property (nonnull , nonatomic , strong , readonly ) UIButton *resetButton;
52
- @property (nonnull , nonatomic , strong , readonly ) UIButton *clampButton;
51
+ @property (nonatomic , strong , readonly ) UIButton *rotateCounterclockwiseButton;
52
+ @property (nonatomic , strong , readonly ) UIButton *resetButton;
53
+ @property (nonatomic , strong , readonly ) UIButton *clampButton;
53
54
@property (nullable , nonatomic , strong , readonly ) UIButton *rotateClockwiseButton;
54
55
55
- @property (nonnull , nonatomic , readonly ) UIButton *rotateButton; // Points to `rotateCounterClockwiseButton`
56
+ @property (nonatomic , readonly ) UIButton *rotateButton; // Points to `rotateCounterClockwiseButton`
56
57
57
58
/* Button feedback handler blocks */
58
59
@property (nullable , nonatomic , copy ) void (^cancelButtonTapped)(void );
0 commit comments