Skip to content

Commit 10c2128

Browse files
committed
[UIKit] Add UIAlertAction+Private
1 parent a7c6ceb commit 10c2128

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

UIKit/UIAlertAction+Private.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#import <UIKit/UIKit.h>
2+
3+
@interface UIAlertAction (Private)
4+
5+
+ (instancetype)_actionWithTitle:(NSString *)title image:(UIImage *)image style:(UIAlertActionStyle)style handler:(void (^)(UIAlertAction *action))handler shouldDismissHandler:(id)shouldDismissHandler;
6+
+ (instancetype)_actionWithTitle:(NSString *)title descriptiveText:(NSString *)descriptiveText image:(UIImage *)image style:(UIAlertActionStyle)style handler:(void (^)(UIAlertAction *action))handler shouldDismissHandler:(id)shouldDismissHandler;
7+
+ (instancetype)_actionWithContentViewController:(UIViewController *)contentViewController style:(UIAlertActionStyle)style handler:(void (^)(UIAlertAction *action))handler;
8+
+ (instancetype)_actionWithContentViewController:(UIViewController *)contentViewController style:(UIAlertActionStyle)style;
9+
10+
@property (nonatomic) UIAlertActionStyle style;
11+
@property (nonatomic, copy) NSString *title;
12+
@property (nonatomic, copy) void (^handler)(UIAlertAction *action);
13+
@property (nonatomic, retain) UIImage *image;
14+
@property (nonatomic, retain, getter=_contentViewController, setter=_setContentViewController:) UIViewController *contentViewController;
15+
@property (nonatomic, copy, setter=_setDescriptiveText:) NSString *_descriptiveText;
16+
@property (nonatomic, copy, getter=_keyCommandInput, setter=_setKeyCommandInput:) NSString *keyCommandInput;
17+
@property (nonatomic, getter=_keyCommandModifierFlags, setter=_setKeyCommandModifierFlags:) UIKeyModifierFlags keyCommandModifierFlags;
18+
19+
@property (nonatomic, retain, setter=_setTitleTextColor:) UIColor *_titleTextColor;
20+
@property (nonatomic, retain, setter=_setImageTintColor:) UIColor *_imageTintColor;
21+
@property (nonatomic, setter=_setTitleTextAlignment:) NSTextAlignment _titleTextAlignment;
22+
@property (nonatomic, getter=_isChecked, setter=_setChecked:) BOOL _checked;
23+
24+
25+
@end

0 commit comments

Comments
 (0)