Skip to content

Commit

Permalink
Merge pull request #15 from stuffmc/dev
Browse files Browse the repository at this point in the history
Outlet to the toolbar, Option to specify the view the SemiModal is presented on, and currentLocale Date.
  • Loading branch information
reednj committed Feb 27, 2013
2 parents 2e3dbd7 + bf179d3 commit 26fd4e3
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 362 deletions.
1 change: 1 addition & 0 deletions Source/TDDatePickerController.h
Expand Up @@ -15,6 +15,7 @@

@property (nonatomic, strong) IBOutlet id delegate;
@property (nonatomic, strong) IBOutlet UIDatePicker* datePicker;
@property (weak, nonatomic) IBOutlet UIToolbar *toolbar;

-(IBAction)saveDateEdit:(id)sender;
-(IBAction)clearDateEdit:(id)sender;
Expand Down
1 change: 1 addition & 0 deletions Source/TDDatePickerController.m
Expand Up @@ -62,6 +62,7 @@ - (void)didReceiveMemoryWarning {
}

- (void)viewDidUnload {
[self setToolbar:nil];
[super viewDidUnload];

self.datePicker = nil;
Expand Down

0 comments on commit 26fd4e3

Please sign in to comment.