Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

Calendar Store Constants Reference

Framework
CalendarStore/CalendarStore.h
Declared in
CalendarStoreErrors.h

Overview

Constants

Calendar Store Error Domain

The domain for errors created by the Calendar Store framework.

extern NSString *const CalCalendarStoreErrorDomain;

Constants
CalCalendarStoreErrorDomain

The Calendar Store error domain.

Available in Mac OS X v10.5 and later.

Declared in CalendarStoreErrors.h

Declared In
CalendarStore/CalendarStoreErrors.h

Calendar Store Errors

The Calendar Store errors that might occur when modifying and saving objects.

enum {
   CalCalendarNotEditableError = 1025,
   CalDateInvalidError = 1026,
   CalCalendarNotInRepository = 1027,
   CalCalendarTitleNotUniqueError = 1028
};

Constants
CalCalendarNotEditableError

Attempted to add events or tasks to a read-only calendar.

Available in Mac OS X v10.5 and later.

Declared in CalendarStoreErrors.h

CalDateInvalidError

Attempted to set the start date of an event earlier than its end date.

Available in Mac OS X v10.5 and later.

Declared in CalendarStoreErrors.h

CalCalendarNotInRepository

Attempted to set an event or task’s calendar object to a nonlocal calendar—a calendar that is not in the user’s iCal database.

Available in Mac OS X v10.5 and later.

Declared in CalendarStoreErrors.h

CalCalendarTitleNotUniqueError

Attempted to save a calendar object that doesn’t have a unique title. All calendar titles must be unique.

Available in Mac OS X v10.5 and later.

Declared in CalendarStoreErrors.h

Declared In
CalendarStore/CalendarStoreErrors.h

Next Page > Hide TOC


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.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice