Type Property

currentCalendar

The user’s current calendar.

Declaration

@property(class, readonly, copy) NSCalendar *currentCalendar;

Return Value

The logical calendar for the current user.

Discussion

The returned calendar is formed from the settings for the current user’s chosen system locale overlaid with any custom settings the user has specified in System Preferences. Settings you get from this calendar do not change as System Preferences are changed, so that your operations are consistent (contrast with autoupdatingCurrentCalendar).

See Also

Getting the User's Calendar

autoupdatingCurrentCalendar

A calendar that tracks changes to user’s preferred calendar.