iOS Developer Library

Developer

EventKit UI Framework Reference EKEventEditViewDelegate Protocol Reference

Options
Deployment Target:

On This Page
Language:

EKEventEditViewDelegate

Delegates of an EKEventEditViewController object conform to this protocol. Use an EKEventEditViewController object to allow the user to either create an event or edit an existing event. To be notified when the user finishes editing the event, set the delegate to an object conforming to this protocol.

  • Describes the action the user took to end editing.

    Declaration

    Swift

    enum EKEventEditViewAction : Int { case Canceled case Saved case Deleted static var Cancelled: EKEventEditViewAction { get } }

    Objective-C

    typedef enum { EKEventEditViewActionCanceled, EKEventEditViewActionSaved, EKEventEditViewActionDeleted } EKEventEditViewAction;

    Constants

    • Canceled

      EKEventEditViewActionCanceled

      The user canceled the changes made to the event.

      Available in iOS 4.0 and later.

    • Saved

      EKEventEditViewActionSaved

      The user saved the changes made to the event.

      Available in iOS 4.0 and later.

    • Deleted

      EKEventEditViewActionDeleted

      The user deleted the event.

      Available in iOS 4.0 and later.

    Import Statement

    Objective-C

    @import EventKitUI;

    Swift

    import EventKitUI

    Availability

    Available in iOS 4.0 and later.