iOS Developer Library

Developer

EventKitUI Framework Reference EKEventEditViewDelegate Protocol Reference

Options
Deployment Target:

On This Page
Language:

EKEventEditViewDelegate

Inheritance


Not Applicable

Import Statement


Swift

import EventKitUI

Objective-C

@import EventKitUI;

Availability


Available in iOS 4.0 and later.

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

    struct EKEventEditViewAction { init(_ value: UInt32) var value: UInt32 }

    Objective-C

    typedef enum { EKEventEditViewActionCanceled, EKEventEditViewActionSaved, EKEventEditViewActionDeleted } EKEventEditViewAction;

    Constants

    • EKEventEditViewActionCanceled

      EKEventEditViewActionCanceled

      The user canceled the changes made to the event.

      Available in iOS 4.0 and later.

    • EKEventEditViewActionSaved

      EKEventEditViewActionSaved

      The user saved the changes made to the event.

      Available in iOS 4.0 and later.

    • EKEventEditViewActionDeleted

      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.