EMSelectableKey

Objective-C

@protocol EMSelectableKey <NSObject>

Swift

protocol EMSelectableKey : NSObjectProtocol

An interface that defines methods to select a key used by the object.

Since

2.6
  • Selects a key used by the object. It alters the state of this object only and does not alter the state of other instances representing the same date set.

    @exception NSInvalidArgumentException When the index is out of range. @exception NSInternalInconsistencyException When this function is called from a non-select-key capable token, or this function is called twice for the same object.

    Since

    2.6

    Declaration

    Objective-C

    - (void)selectKeyIndex:(int)index;

    Swift

    func select(_ index: Int32)

    Parameters

    index

    The key index to use starting at 0.