Type Property

current

The user’s current calendar.

Declaration

class var current: Calendar { get }

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 autoupdatingCurrent).

See Also

Getting the User's Calendar

class var autoupdatingCurrent: Calendar

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