FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
Manages ordered collections of 3 objects. More...
#import <NSADataObject.h>
Instance Methods | |
(void) | - setTriple: |
Sets the receiving triple's elements to those in another given triple. More... | |
Instance Methods inherited from NSATriple | |
(instancetype) | - initWithFirst:second:third: |
Initilize a triple containing first as first object, second as second object and third as third object. More... | |
Instance Methods inherited from <NSAArrayLikeDataObject> | |
(id) | - objectAtIndex: |
Returns the object located at index. More... | |
(NSUInteger) | - indexOfObject: |
Returns the lowest index whose corresponding member value is equal to a given object. More... | |
(BOOL) | - containsObject: |
Returns a Boolean value that indicates whether a given object is present in the array. More... | |
(id) | - : |
Returns the object located at index. Shortcut of objectAtIndex: More... | |
Instance Methods inherited from <NSAIndexedSubscript> | |
(id) | - objectAtIndexedSubscript: |
Returns the object located at the specified index. More... | |
Instance Methods inherited from <NSAMutableArrayLikeDataObject> | |
(void) | - replaceObjectAtIndex:withObject: |
Replaces the object at index with anObject. More... | |
Instance Methods inherited from <NSAMutableIndexedSubscript> | |
(void) | - setObject:atIndexedSubscript: |
Replaces the object at the index with the new object, possibly adding the object. More... | |
Properties | |
id | first |
first object More... | |
id | second |
second object More... | |
id | third |
third object More... | |
Properties inherited from NSATriple | |
id | first |
first object More... | |
id | second |
second object More... | |
id | third |
third object More... | |
Properties inherited from <NSAArrayLikeDataObject> | |
NSUInteger | count |
Returns the number of objects currently in the data object. More... | |
NSArray * | allObjects |
Returns an array containing the container’s members, or an empty array if the container has no members. More... | |
Additional Inherited Members | |
Class Methods inherited from NSATriple | |
(instancetype) | + triple |
Creates and returns an empty triple. More... | |
(instancetype) | + tripleWithFirst:second:third: |
Creates and returns a triple containing first as first object, second as second object and third as third object. More... | |
Protected Attributes inherited from NSATriple | |
id | _first |
id | _second |
id | _third |
Manages ordered collections of 3 objects.
- (void) setTriple: | (NSATriple *) | otherTriple |
Sets the receiving triple's elements to those in another given triple.
otherTriple | The triple of objects with which to replace the receiving triple's content. |
|
readwritenonatomicstrong |
first object
|
readwritenonatomicstrong |
second object
|
readwritenonatomicstrong |
third object