In my app, I would like to determine what day of the year it is, and then show a uipickerwheel that has a row for each day (not month or day, just 1, 2, 365). I use
to get the current number, but am unsure how to setup the uipickerwheel to be able to change each day.
Code:
NSCalendar *currentCalendar = [NSCalendar currentCalendar];
NSDate *today = [NSDate date];
NSInteger dc = [currentCalendar ordinalityOfUnit:NSDayCalendarUnit
inUnit:NSYearCalendarUnit
forDate:today];