Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 7 additions & 15 deletions FCAlertView/Classes/FCAlertView.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
// Customizations made to UI

NSMutableArray *alertButtons;
NSMutableArray *alertTextFields;
NSMutableArray *alertTextFieldHolder;
NSMutableArray *alertTextFields; //text fields in form
NSMutableArray *alertTextFieldsDictionaries;//Dictionaries holding text fields data
NSInteger alertViewWithVector;
NSString *doneTitle;
UIImage *vectorImage;
Expand Down Expand Up @@ -84,9 +84,6 @@

@property (nonatomic, retain) UIView *alertBackground;

// AlertView TextView

@property (nonatomic, retain) UITextField *textField;

// AlertView Customizations

Expand All @@ -96,9 +93,9 @@
@property NSInteger numberOfButtons;
@property NSInteger autoHideSeconds;
@property CGFloat cornerRadius;
@property int maxCharacter;

@property BOOL dismissOnOutsideTouch;
@property BOOL overrideForcedDismiss;
@property BOOL hideAllButtons;
@property BOOL hideDoneButton;
@property BOOL avoidCustomImageTint;
Expand Down Expand Up @@ -175,7 +172,8 @@ typedef void (^FCActionBlock)(void);
typedef void (^FCTextReturnBlock)(NSString *text);
@property (nonatomic, copy) FCTextReturnBlock textReturnBlock;
- (void)addTextFieldWithPlaceholder:(NSString *)placeholder andTextReturnBlock:(FCTextReturnBlock)textReturn;
- (void)addTextFieldWithCustomTextField:(UITextField *)field andPlaceholder:(NSString *)placeholder andTextReturnBlock:(FCTextReturnBlock)textReturn;
- (void)addTextFieldWithPlaceholder:(NSString *)placeholder secure:(NSNumber*)secureField andTextReturnBlock:(FCTextReturnBlock)textReturn;
- (void)addTextFieldWithPlaceholder:(NSString *)placeholder secure:(NSNumber*)secureField onlyNumbers:(NSNumber*)numbersOnly keyboardType:(UIKeyboardType)type andTextReturnBlock:(FCTextReturnBlock)textReturn;

// Color Schemes

Expand All @@ -185,19 +183,12 @@ typedef void (^FCTextReturnBlock)(NSString *text);
@property (nonatomic, retain) UIColor *alertBackgroundColor;

@property (nonatomic, retain) UIColor * doneButtonTitleColor;
@property (nonatomic, retain) UIFont * doneButtonCustomFont;
@property (nonatomic, retain) UIColor * doneButtonHighlightedBackgroundColor;

@property (nonatomic, retain) UIColor * firstButtonTitleColor;
@property (nonatomic, retain) UIFont * firstButtonCustomFont;
@property (nonatomic, retain) UIColor * firstButtonBackgroundColor;
@property (nonatomic, retain) UIColor * firstButtonHighlightedBackgroundColor;

@property (nonatomic, retain) UIColor * secondButtonTitleColor;
@property (nonatomic, retain) UIFont * secondButtonCustomFont;
@property (nonatomic, retain) UIColor * secondButtonBackgroundColor;
@property (nonatomic, retain) UIColor * secondButtonHighlightedBackgroundColor;

// Preset Flat Colors

@property (nonatomic, retain) UIColor * flatTurquoise;
Expand All @@ -219,4 +210,5 @@ typedef void (^FCTextReturnBlock)(NSString *text);
- (void)FCAlertViewWillAppear:(FCAlertView *)alertView;
- (void)FCAlertDoneButtonClicked:(FCAlertView *)alertView;

@end
@end

Loading