SMITemplateable

Objective-C

@protocol SMITemplateable <NSObject>

Swift

protocol SMITemplateable : NSObjectProtocol

Represents an array of parameters for a templateable URL used by the auto-response messaging component.

  • Array of templateable keys.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<NSString *> *_Nonnull keys;

    Swift

    var keys: [String] { get }
  • Sets a value for a key.

    Declaration

    Objective-C

    - (void)setValue:(nonnull NSString *)value forKey:(nonnull NSString *)key;

    Swift

    func setValue(_ value: String, forKey key: String)
  • Gets the value for a particular key.

    Declaration

    Objective-C

    - (nullable NSString *)valueForKey:(nonnull NSString *)key;

    Swift

    func value(forKey key: String) -> String?