Platforms to show: All Mac Windows Linux Cross-Platform

Back to CalCalendarMBS class.

CalCalendarMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Calendar MBS MacFrameworks Plugin 7.7 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The iCal class for a calendar.
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

All calendars created with this API will be of type CalCalendarTypeLocal.

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


The biggest plugin in space...