Platforms to show: All Mac Windows Linux Cross-Platform
EKCalendarMBS class
Super class: EKObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Calendar | MBS Mac64bit Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Use the properties in this class to get attributes about a calendar, such as its title and type. Use the calendarForEntityType method to create a calendar object.
Subclass of the EKObjectMBS class.
- 11 properties
- property allowedEntityTypes as Integer
- property allowsContentModifications as Boolean
- property calendarIdentifier as String
- property CGColor as Variant
- property color as NSColorMBS
- property Immutable as Boolean
- property source as EKSourceMBS
- property Subscribed as Boolean
- property supportedEventAvailabilities as Integer
- property title as String
- property type as Integer
- method Constructor(entityType as Integer, eventStore as EKEventStoreMBS)
- shared method calendarForEntityType(entityType as Integer, eventStore as EKEventStoreMBS) as EKCalendarMBS
- 14 constants
Entity Mask
Constant | Value | Description |
---|---|---|
kEntityMaskEvent | 1 |
Event |
kEntityMaskReminder | 2 |
Reminder |
Types
Constant | Value | Description |
---|---|---|
kEntityTypeEvent | 0 |
Entity Event |
kEntityTypeReminder | 1 |
Entity Reminder |
Event Availabilities
Constant | Value | Description |
---|---|---|
kEventAvailabilityBusy | 1 |
Busy |
kEventAvailabilityFree | 2 |
Free |
kEventAvailabilityNone | 0 |
Not available |
kEventAvailabilityTentative | 4 |
Tentative |
kEventAvailabilityUnavailable | 8 |
Unavailable |
Calendar Types
Constant | Value | Description |
---|---|---|
kTypeBirthday | 4 |
A birthday calendar. |
kTypeCalDAV | 1 |
A CalDAV or iCloud calendar. |
kTypeExchange | 2 |
An Exchange calendar. |
kTypeLocal | 0 |
A local calendar. |
kTypeSubscription | 3 |
A locally subscribed calendar. |
Super class EKObjectMBS
- property Handle as Integer
- 6 methods
- method Constructor Private
- method hasChanges as boolean
- method isNew as boolean
- method refresh as boolean
- method reset
- method rollback
This class has no sub classes.
Some methods using this class:
- EKEventStoreMBS.calendarWithIdentifier(identifier as string) as EKCalendarMBS
- EKEventStoreMBS.predicateForCompletedRemindersWithCompletionDate(startDate as date, endDate as date, calendars() as EKCalendarMBS) as NSPredicateMBS
- EKEventStoreMBS.predicateForCompletedRemindersWithCompletionDate(startDate as dateTime, endDate as dateTime, calendars() as EKCalendarMBS) as NSPredicateMBS
- EKEventStoreMBS.predicateForEvents(startDate as date, endDate as date, calendars() as EKCalendarMBS) as NSPredicateMBS
- EKEventStoreMBS.predicateForEvents(startDate as dateTime, endDate as dateTime, calendars() as EKCalendarMBS) as NSPredicateMBS
- EKEventStoreMBS.predicateForIncompleteRemindersWithDueDate(startDate as date, endDate as date, calendars() as EKCalendarMBS) as NSPredicateMBS
- EKEventStoreMBS.predicateForIncompleteRemindersWithDueDate(startDate as dateTime, endDate as dateTime, calendars() as EKCalendarMBS) as NSPredicateMBS
- EKEventStoreMBS.predicateForRemindersInCalendar(calendar as EKCalendarMBS) as NSPredicateMBS
- EKEventStoreMBS.saveCalendar(calendar as EKCalendarMBS, commit as boolean, byref error as NSErrorMBS) as boolean
- EKSourceMBS.calendarsForEntityType(types as Integer) as EKCalendarMBS()
Some properties using for this class:
- EKCalendarItemMBS.calendar as EKCalendarMBS
- EKEventStoreMBS.defaultCalendarForNewEvents as EKCalendarMBS
- EKEventStoreMBS.defaultCalendarForNewReminders as EKCalendarMBS
Some examples using this class:
Blog Entries
Release notes
- Version 19.5
- Fixed Constructor for EKCalendarMBS class to not complain about missing EKReminder class.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
EKCalendarItemMBS - EKEventMBS