#import \"DatePickerViewController.h\"
#import
@interface DatePickerViewController ()
@end
@implementation DatePickerViewController
@synthesiz
Your registration for events from the picker is using a selector that expects one argument (@selector(updateDateLabel:)
expects a method of the form -updateDateLabel:(id)arg
), whereas what you have implemented takes no arguments (-updateDateLabel
)
Of course, all of this is moot considering that you've reassigned your picker from the one that was de-archived from the storyboard. Remove the initialization code and hook up the IBAction to the picker in the storyboard.
Change -(IBAction)updateDateLabel {
to -(IBAction)updateDateLabel:(id)sender {