Platforms to show: All Mac Windows Linux Cross-Platform

CalCalendarMBS class   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Calendar MBS MacFrameworks Plugin 7.7 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This item is deprecated and should no longer be used. You can use EKCalendarMBS instead.
A class for the iCal calendars.
Example
// start a connection to the calendar database
dim s as new CalCalendarStoreMBS

// needed for the error details
dim e as NSErrorMBS

// create a new calendar
dim c as new CalCalendarMBS

// set properties
c.Title="New Calendar"
c.notes="Just a test"

// save calendar
call s.saveCalendar(c,e)
if e<>nil then
MsgBox e.localizedDescription
else
MsgBox "New calendar was created."
end if

Requires Mac OS X 10.5 to work.
This class can be used to get attributes of a calendar, but cannot be used to get the list of events or tasks in a calendar.

Constants

Constant Value Description
CalCalendarTypeBirthday "Birthday" One of the calendar types. Example
CalCalendarTypeCalDAV "CalDAV" One of the calendar types.
CalCalendarTypeExchange "Exchange" One of the calendar types. New in Mac OS X 10.6.
CalCalendarTypeIMAP "IMAP" One of the calendar types.
CalCalendarTypeLocal "Local" One of the calendar types.
CalCalendarTypeSubscription "Subscription" One of the calendar types.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


CalCalendarItemMBS   -   CalCalendarStoreMBS


The biggest plugin in space...