I am creating several UILocalNotifications with different repeatIntervals.
All repeat intervals are assigned using a NSCalendarUnit, like
myNotification.repeatInterval = NSWeekdayCalendarUnit;
I am debugging. When I print the NSArray containing the notifications using
NSArray* oldNotifications = [app scheduledLocalNotifications];
NSLog(@"alarms = %@", oldNotifications);
I see the notification printed as this:
"{fire date = 2011-09-19 06:26:00 +0000, time zone = Europe/Lisbon (WEST) offset 3600 (Daylight), repeat interval = 512, next fire date = 2011-09-19 06:26:00 +0000}"
Notice that the repeat interval is a number, in this example 512, but it can be 256, 0, whatever.
Where do I find the equivalence of these numbers withe the NSCalendarUnit? I need to know what they are, so I can debug. "Jump to definition" on Xcode does not shows the numbers.
thanks