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 *)keyDiscussion
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 *)keyDiscussion
Retrieve previously stored values with subscripting syntax: @code id value = object[key]; @endcode
Declared In
BTNSubscriptableProtocol.h