BTNSubscriptable Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | BTNSubscriptableProtocol.h |
Object Subscripting
– setObject:forKeyedSubscript:
required method
Add key-value pairs with subscripting syntax: @code object[key] = value; @endcode
- (void)setObject:(nullable id)obj forKeyedSubscript:(NSString *)key
Discussion
Add key-value pairs with subscripting syntax: @code object[key] = value; @endcode
Declared In
BTNSubscriptableProtocol.h
– objectForKeyedSubscript:
required method
Retrieve previously stored values with subscripting syntax: @code id value = object[key]; @endcode
- (nullable id)objectForKeyedSubscript:(NSString *)key
Discussion
Retrieve previously stored values with subscripting syntax: @code id value = object[key]; @endcode
Declared In
BTNSubscriptableProtocol.h