Here is the code in main.m
[[NSNotificationCenter defaultCenter]addObserver:logger selector:@selector(zoneChange:) name:NSSystemTimeZoneDidChangeNotification object:nil];
here is the code in .h file
-(void)zoneChange:(NSNotification *)note;
Can someone tell me why zoneChange method take NSNotification as an argument? How do we know what argument does this method take when trying to declare it to be used by the method mentioned in the main.m file above?
Also I did some research on the class reference and found out this for the selector parameter
Selector that specifies the message the receiver sends notificationObserver to notify it of the notification posting. The method specified by notificationSelector must have one and only one argument (an instance of NSNotification).
Please explain. Thanks