FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
The indexed subscript getter protocol NSAIndexedSubscript must be adopted and implemented by immutable objects used for indexed subscript in modern Objective-C. More...
#import <NSASubscript.h>
Instance Methods | |
(id) | - objectAtIndexedSubscript: |
Returns the object located at the specified index. More... | |
The indexed subscript getter protocol NSAIndexedSubscript must be adopted and implemented by immutable objects used for indexed subscript in modern Objective-C.
- (id) objectAtIndexedSubscript: | (NSUInteger) | index |
Returns the object located at the specified index.
index | An index within the bounds of the container object. |
If index is beyond the end of the container (that is, if index is greater than or equal to the value of the container size), raise an NSRangeException. This method is expected to be identical to objectAtIndex:.