Next Page > Hide TOC

CalAttendee Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/CalendarStore.framework
Availability
Available in Mac OS X v10.5 and later.
Companion guide
Declared in
CalAttendee.h

Overview

A CalAttendee object represents one attendee of a calendar event.

You do not create CalAttendee objects directly. Send attendees to a CalEvent object to get an array of CalAttendee objects.

Use the status property to get the confirmation status of an attendee. Use the commonName and address properties to get more information about an attendee. You cannot modify the properties of a CalAttendee object—they are read-only.

Tasks

Getting Properties

Properties

For more about Objective-C properties, see “Properties” in The Objective-C 2.0 Programming Language.

address

An NSURL object that can be used to contact the attendee.

@property(readonly) NSURL *address;

Availability
Declared In
CalAttendee.h

commonName

The user-entered name of the attendee.

@property(readonly) NSString *commonName;

Availability
Declared In
CalAttendee.h

status

The attendee’s confirmation status.

@property(readonly) NSString *status;

Discussion

The value of this property is one of the constants in “CalAttendee Status Strings”.

Availability
Declared In
CalAttendee.h

Constants

CalAttendee Status Strings

Describe an attendee’s confirmation status of an event.

extern NSString * const CalAttendeeStatusNeedsAction;
extern NSString * const CalAttendeeStatusAccepted;
extern NSString * const CalAttendeeStatusDeclined;
extern NSString * const CalAttendeeStatusTentative;

Constants
CalAttendeeStatusNeedsAction

The status is not set for this attendee.

Available in Mac OS X v10.5 and later.

Declared in CalAttendee.h.

CalAttendeeStatusAccepted

The attendee accepted the invitation.

Available in Mac OS X v10.5 and later.

Declared in CalAttendee.h.

CalAttendeeStatusDeclined

The attendee declined the invitation.

Available in Mac OS X v10.5 and later.

Declared in CalAttendee.h.

CalAttendeeStatusTentative

The attendee’s status is tentative.

Available in Mac OS X v10.5 and later.

Declared in CalAttendee.h.

Availability
Declared In
CalendarStore/CalAttendee.h

Next Page > Hide TOC


© 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-07-08)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.