|
FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
Protocols to handle indexed or keyed subscript of modern Objective-C. More...
#import <Foundation/Foundation.h>Go to the source code of this file.
Classes | |
| protocol | <NSAIndexedSubscript> |
| The indexed subscript getter protocol NSAIndexedSubscript must be adopted and implemented by immutable objects used for indexed subscript in modern Objective-C. More... | |
| protocol | <NSAMutableIndexedSubscript> |
| The indexed subscript setter protocol NSAMutableIndexedSubscript must be adopted and implemented by mutable objects used for indexed subscript in modern Objective-C. More... | |
| protocol | <NSAKeyedSubscript> |
| The keyed subscript getter protocol NSAKeyedSubscript must be adopted and implemented by immutable objects used for keyed subscript in modern Objective-C. More... | |
| protocol | <NSAMutableKeyedSubscript> |
| The keyed subscript setter protocol NSAMutableKeyedSubscript must be adopted and implemented by mutable objects used for keyed subscript in modern Objective-C. More... | |
Protocols to handle indexed or keyed subscript of modern Objective-C.
These protocols are defined to make subscript interface clear. Because Foundation doesn't suggest any protocols to implement subscription, this is a kind of hidden protocol.