Deprecated CalEvent Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.8

attendees

An array of invited guests or an empty array if there are no attendees. This property is read-only. (read-only) (Deprecated in OS X v10.8.)

@property(copy, readonly) NSArray *attendees
Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.8.
Declared In
CalEvent.h

endDate

The end date and time for this event. (Deprecated in OS X v10.8.)

@property(copy) NSDate *endDate
Discussion

An error occurs if you attempt to save an event whose start date occurs after the end date.

Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.8.
Declared In
CalEvent.h

isAllDay

YES if this is an all day event; otherwise, NO. (Deprecated in OS X v10.8.)

@property BOOL isAllDay
Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.8.
Declared In
CalEvent.h

isDetached

Returns whether or not an event is detached. This property is read-only. (read-only) (Deprecated in OS X v10.8.)

@property(readonly) BOOL isDetached
Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.8.
Declared In
CalEvent.h

location

A description of the location of this event. (Deprecated in OS X v10.8.)

@property(copy) NSString *location
Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.8.
Declared In
CalEvent.h

occurrence

The occurrence date of an event. This property is read-only. (read-only) (Deprecated in OS X v10.8.)

@property(copy, readonly) NSDate *occurrence
Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.8.
Declared In
CalEvent.h

recurrenceRule

The recurrence rule of an event. (Deprecated in OS X v10.8.)

@property(copy) CalRecurrenceRule *recurrenceRule
Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.8.
Declared In
CalEvent.h

startDate

The start date and time for this event. (Deprecated in OS X v10.8.)

@property(copy) NSDate *startDate
Discussion

An error occurs if you attempt to save an event whose start date occurs after the end date.

Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.8.
Declared In
CalEvent.h

event

Creates and returns a newly allocated CalEvent object. (Deprecated in OS X v10.8.)

+ (id)event
Discussion

Use the saveEvent:span:error: method to save a new event to the iCal database.

Availability
  • Available in OS X v10.5 and later.
  • Deprecated in OS X v10.8.
Related Sample Code
Declared In
CalEvent.h