KRAdapter

Objective-C

@protocol KRAdapter <NSObject>

Swift

protocol KRAdapter : NSObjectProtocol

The KRAdapter protocol allows an object to declare itself as being of a certain type.

  • Returns the adapter type.

    Declaration

    Objective-C

    - (NSString *_Nonnull)type;

    Swift

    func type() -> String

    Return Value

    An adapter type in string format.