views:

56

answers:

0

I'd like to programatically add a participant to an EKEvent on the iPhone.

EKParticipant's class reference states "You do not create EKParticipant objects directly. Send attendees to an EKEvent object to get an array of EKParticipant objects.".

EKEvent's class reference states that the 'attendees' member (NSArray) is "The attendees associated with the event, as an array of EKParticipant objects. (read-only)"

Seems like a chicken-and-egg scenario - how does one "Send attendees to an EKEvent object", if the attendees member a.) is read-only and b.) contains objects that cannot be directly created?