Permalink
Browse files

Adding userInfo

  • Loading branch information...
hellhound committed Aug 18, 2011
1 parent 61a8c64 commit cedfe68fdb63620d5d7767cb4be0148ed574c37d
Showing with 13 additions and 10 deletions.
  1. +2 −0 TSAlertView/TSAlertView.h
  2. +11 −10 TSAlertView/TSAlertView.m
@@ -67,6 +67,7 @@ didDismissWithButtonIndex:(NSInteger)buttonIndex;
TSAlertViewStyle _style;
// TSAlertView (TSCustomizableAlertView)
NSMutableArray *_textFields;
+ id _userInfo;
}
@property(nonatomic, copy) NSString *title;
@@ -84,6 +85,7 @@ didDismissWithButtonIndex:(NSInteger)buttonIndex;
@property(nonatomic, retain) UIImage *backgroundImage;
@property(nonatomic, assign) TSAlertViewStyle style;
@property(nonatomic, readonly) UITextField *inputTextField;
+@property(nonatomic, retain) id userInfo;
- (id)initWithTitle:(NSString *)title
message:(NSString *)message
View
@@ -189,16 +189,6 @@ - (void)setTextFieldProperties:(UITextField **)textField;
@implementation TSAlertView
-@synthesize delegate = _delegate;
-@synthesize backgroundImage = _backgroundImage;
-@synthesize cancelButtonIndex = _cancelButtonIndex;
-@synthesize buttonLayout = _buttonLayout;
-@synthesize firstOtherButtonIndex = _firstOtherButtonIndex;
-@synthesize width = _width;
-@synthesize maxHeight = _maxHeight;
-@synthesize usesMessageTextView = _usesMessageTextView;
-@synthesize style = _style;
-
#pragma mark -
#pragma mark NSObject
@@ -621,6 +611,17 @@ - (void)setTextFieldProperties:(UITextField **)textField
#pragma mark TSAlertView (Public)
+@synthesize delegate = _delegate;
+@synthesize backgroundImage = _backgroundImage;
+@synthesize cancelButtonIndex = _cancelButtonIndex;
+@synthesize buttonLayout = _buttonLayout;
+@synthesize firstOtherButtonIndex = _firstOtherButtonIndex;
+@synthesize width = _width;
+@synthesize maxHeight = _maxHeight;
+@synthesize usesMessageTextView = _usesMessageTextView;
+@synthesize style = _style;
+@synthesize userInfo = _userInfo;
+
- (id)initWithTitle:(NSString *)title
message:(NSString *)message
delegate:(id)delegate

0 comments on commit cedfe68

Please sign in to comment.