Up

NSOrderedSet documentation

Authors

Gregory John Casamento (greg.casamento@gmail.com)

Date: Generated at 2023-12-20 19:35:39 -0500

Copyright: (C) 2019 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSMutableOrderedSet class
  2. Software documentation for the NSOrderedSet class

Software documentation for the NSMutableOrderedSet class

NSMutableOrderedSet : NSOrderedSet

Declared in:
Foundation/NSOrderedSet.h
Availability: MacOS-X 10.7.0

Description forthcoming.
Method summary

orderedSetWithCapacity: 

+ (instancetype) orderedSetWithCapacity: (NSUInteger)capacity;
Availability: MacOS-X 10.7.0

Description forthcoming.

addObject: 

- (void) addObject: (GS_GENERIC_TYPE(ElementT))anObject;
Availability: MacOS-X 10.7.0

Description forthcoming.

addObjects: count: 

- (void) addObjects: (const GS_GENERIC_TYPE(ElementT)[])objects count: (NSUInteger)count;
Availability: MacOS-X 10.7.0

Description forthcoming.

addObjectsFromArray: 

- (void) addObjectsFromArray: (GS_GENERIC_CLASS(NSArray,ElementT)*)otherArray;
Availability: MacOS-X 10.7.0

Description forthcoming.

exchangeObjectAtIndex: withObjectAtIndex: 

- (void) exchangeObjectAtIndex: (NSUInteger)index withObjectAtIndex: (NSUInteger)otherIndex;
Availability: MacOS-X 10.7.0

Description forthcoming.

filterUsingPredicate: 

- (void) filterUsingPredicate: (NSPredicate*)predicate;
Availability: MacOS-X 10.7.0

Description forthcoming.

init 

- (instancetype) init;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithCapacity: 

- (instancetype) initWithCapacity: (NSUInteger)capacity;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithCoder: 

- (instancetype) initWithCoder: (NSCoder*)coder;
Availability: MacOS-X 10.7.0

Description forthcoming.

insertObject: atIndex: 

- (void) insertObject: (GS_GENERIC_TYPE(ElementT))object atIndex: (NSUInteger)index;
Availability: MacOS-X 10.7.0

Description forthcoming.

insertObjects: atIndexes: 

- (void) insertObjects: (GS_GENERIC_CLASS(NSArray,ElementT)*)array atIndexes: (NSIndexSet*)indexes;
Availability: MacOS-X 10.7.0

Description forthcoming.

intersectOrderedSet: 

- (void) intersectOrderedSet: (GS_GENERIC_CLASS(NSOrderedSet,ElementT)*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

intersectSet: 

- (void) intersectSet: (GS_GENERIC_CLASS(NSSet,ElementT)*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

minusOrderedSet: 

- (void) minusOrderedSet: (GS_GENERIC_CLASS(NSOrderedSet,ElementT)*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

minusSet: 

- (void) minusSet: (GS_GENERIC_CLASS(NSSet,ElementT)*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

moveObjectsAtIndexes: toIndex: 

- (void) moveObjectsAtIndexes: (NSIndexSet*)indexes toIndex: (NSUInteger)index;
Availability: MacOS-X 10.7.0

Description forthcoming.

removeAllObjects 

- (void) removeAllObjects;
Availability: MacOS-X 10.7.0

Description forthcoming.

removeObject: 

- (void) removeObject: (GS_GENERIC_TYPE(ElementT))object;
Availability: MacOS-X 10.7.0

Description forthcoming.

removeObjectAtIndex: 

- (void) removeObjectAtIndex: (NSUInteger)index;
Availability: MacOS-X 10.7.0

Description forthcoming.

removeObjectsAtIndexes: 

- (void) removeObjectsAtIndexes: (NSIndexSet*)indexes;
Availability: MacOS-X 10.7.0

Description forthcoming.

removeObjectsInArray: 

- (void) removeObjectsInArray: (GS_GENERIC_CLASS(NSArray,ElementT)*)otherArray;
Availability: MacOS-X 10.7.0

Description forthcoming.

removeObjectsInRange: 

- (void) removeObjectsInRange: (NSRange)range;
Availability: MacOS-X 10.7.0

Description forthcoming.

replaceObjectAtIndex: withObject: 

- (void) replaceObjectAtIndex: (NSUInteger)index withObject: (GS_GENERIC_TYPE(ElementT))object;
Availability: MacOS-X 10.7.0

Description forthcoming.

replaceObjectsAtIndexes: withObjects: 

- (void) replaceObjectsAtIndexes: (NSIndexSet*)indexes withObjects: (GS_GENERIC_CLASS(NSArray,ElementT)*)objects;
Availability: MacOS-X 10.7.0

Description forthcoming.

replaceObjectsInRange: withObjects: count: 

- (void) replaceObjectsInRange: (NSRange)range withObjects: (const GS_GENERIC_TYPE(ElementT)[])objects count: (NSUInteger)count;
Availability: MacOS-X 10.7.0

Description forthcoming.

setObject: atIndex: 

- (void) setObject: (GS_GENERIC_TYPE(ElementT))object atIndex: (NSUInteger)index;
Availability: MacOS-X 10.7.0

Description forthcoming.

setObject: atIndexedSubscript: 

- (void) setObject: (GS_GENERIC_TYPE(ElementT))object atIndexedSubscript: (NSUInteger)index;
Availability: MacOS-X 10.7.0

Description forthcoming.

sortRange: options: usingComparator: 

- (void) sortRange: (NSRange)range options: (NSSortOptions)options usingComparator: (NSComparator)comparator;
Availability: MacOS-X 10.7.0

Description forthcoming.

sortUsingComparator: 

- (void) sortUsingComparator: (NSComparator)comparator;
Availability: MacOS-X 10.7.0

Description forthcoming.

sortUsingDescriptors: 

- (void) sortUsingDescriptors: (NSArray*)descriptors;
Availability: MacOS-X 10.7.0

Description forthcoming.

sortWithOptions: usingComparator: 

- (void) sortWithOptions: (NSSortOptions)options usingComparator: (NSComparator)comparator;
Availability: MacOS-X 10.7.0

Description forthcoming.

unionOrderedSet: 

- (void) unionOrderedSet: (GS_GENERIC_CLASS(NSOrderedSet,ElementT)*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

unionSet: 

- (void) unionSet: (GS_GENERIC_CLASS(NSSet,ElementT)*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

Software documentation for the NSOrderedSet class

NSOrderedSet : NSObject

Declared in:
Foundation/NSOrderedSet.h
Conforms to:
NSCoding
NSCopying
NSMutableCopying
NSFastEnumeration
Availability: MacOS-X 10.7.0

Description forthcoming.
Method summary

orderedSet 

+ (instancetype) orderedSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

orderedSetWithArray: 

+ (instancetype) orderedSetWithArray: (GS_GENERIC_CLASS(NSArray,ElementT)*)objects;
Availability: MacOS-X 10.7.0

Description forthcoming.

orderedSetWithArray: range: copyItems: 

+ (instancetype) orderedSetWithArray: (GS_GENERIC_CLASS(NSArray,ElementT)*)objects range: (NSRange)range copyItems: (BOOL)flag;
Availability: MacOS-X 10.7.0

Description forthcoming.

orderedSetWithObject: 

+ (instancetype) orderedSetWithObject: (GS_GENERIC_TYPE(ElementT))anObject;
Availability: MacOS-X 10.7.0

Description forthcoming.

orderedSetWithObjects: ,...

+ (instancetype) orderedSetWithObjects: (GS_GENERIC_TYPE(ElementT))firstObject,...;
Availability: MacOS-X 10.7.0

Description forthcoming.

orderedSetWithObjects: count: 

+ (instancetype) orderedSetWithObjects: (const GS_GENERIC_TYPE(ElementT)[])objects count: (NSUInteger)count;
Availability: MacOS-X 10.7.0

Description forthcoming.

orderedSetWithOrderedSet: 

+ (instancetype) orderedSetWithOrderedSet: (GS_GENERIC_CLASS(NSOrderedSet,ElementT)*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

orderedSetWithSet: 

+ (instancetype) orderedSetWithSet: (GS_GENERIC_CLASS(NSSet,ElementT)*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

orderedSetWithSet: copyItems: 

+ (instancetype) orderedSetWithSet: (GS_GENERIC_CLASS(NSSet,ElementT)*)aSet copyItems: (BOOL)flag;
Availability: MacOS-X 10.7.0

Description forthcoming.

array 

- (GS_GENERIC_CLASS(NSArray,ElementT)*) array;
Availability: MacOS-X 10.7.0

Description forthcoming.

containsObject: 

- (BOOL) containsObject: (GS_GENERIC_TYPE(ElementT))anObject;
Availability: MacOS-X 10.7.0

Description forthcoming.

count 

- (NSUInteger) count;
Availability: MacOS-X 10.7.0

Description forthcoming.

description 

- (NSString*) description;
Availability: MacOS-X 10.7.0

Description forthcoming.

descriptionWithLocale: 

- (NSString*) descriptionWithLocale: (NSLocale*)locale;
Availability: MacOS-X 10.7.0

Description forthcoming.

descriptionWithLocale: indent: 

- (NSString*) descriptionWithLocale: (NSLocale*)locale indent: (BOOL)flag;
Availability: MacOS-X 10.7.0

Description forthcoming.

enumerateObjectsAtIndexes: options: usingBlock: 

- (void) enumerateObjectsAtIndexes: (NSIndexSet*)indexSet options: (NSEnumerationOptions)opts usingBlock: (GSEnumeratorBlock)aBlock;
Availability: MacOS-X 10.7.0

Description forthcoming.

enumerateObjectsUsingBlock: 

- (void) enumerateObjectsUsingBlock: (GSEnumeratorBlock)aBlock;
Availability: MacOS-X 10.7.0

Description forthcoming.

enumerateObjectsWithOptions: usingBlock: 

- (void) enumerateObjectsWithOptions: (NSEnumerationOptions)opts usingBlock: (GSEnumeratorBlock)aBlock;
Availability: MacOS-X 10.7.0

Description forthcoming.

filteredOrderedSetUsingPredicate: 

- (NSOrderedSet*) filteredOrderedSetUsingPredicate: (NSPredicate*)predicate;
Availability: MacOS-X 10.7.0

Description forthcoming.

firstObject 

- (GS_GENERIC_TYPE(ElementT)) firstObject;
Availability: MacOS-X 10.7.0

Description forthcoming.

getObjects: range: 

- (void) getObjects: (__unsafe_unretained GS_GENERIC_TYPE(ElementT)[])aBuffer range: (NSRange)aRange;
Availability: MacOS-X 10.7.0

Description forthcoming.

indexOfObject: 

- (NSUInteger) indexOfObject: (GS_GENERIC_TYPE(ElementT))objects;
Availability: MacOS-X 10.7.0

Description forthcoming.

indexOfObject: inSortedRange: options: usingComparator: 

- (NSUInteger) indexOfObject: (id)key inSortedRange: (NSRange)range options: (NSBinarySearchingOptions)options usingComparator: (NSComparator)comparator;
Availability: MacOS-X 10.7.0

Description forthcoming.

indexOfObjectAtIndexes: options: passingTest: 

- (NSUInteger) indexOfObjectAtIndexes: (NSIndexSet*)indexSet options: (NSEnumerationOptions)opts passingTest: (GSPredicateBlock)predicate;
Availability: MacOS-X 10.7.0

Description forthcoming.

indexOfObjectPassingTest: 

- (NSUInteger) indexOfObjectPassingTest: (GSPredicateBlock)predicate;
Availability: MacOS-X 10.7.0

Description forthcoming.

indexOfObjectWithOptions: passingTest: 

- (NSUInteger) indexOfObjectWithOptions: (NSEnumerationOptions)opts passingTest: (GSPredicateBlock)predicate;
Availability: MacOS-X 10.7.0

Description forthcoming.

indexesOfObjectsAtIndexes: options: passingTest: 

- (NSIndexSet*) indexesOfObjectsAtIndexes: (NSIndexSet*)indexSet options: (NSEnumerationOptions)opts passingTest: (GSPredicateBlock)predicate;
Availability: MacOS-X 10.7.0

Description forthcoming.

indexesOfObjectsPassingTest: 

- (NSIndexSet*) indexesOfObjectsPassingTest: (GSPredicateBlock)predicate;
Availability: MacOS-X 10.7.0

Description forthcoming.

indexesOfObjectsWithOptions: passingTest: 

- (NSIndexSet*) indexesOfObjectsWithOptions: (NSEnumerationOptions)opts passingTest: (GSPredicateBlock)predicate;
Availability: MacOS-X 10.7.0

Description forthcoming.

init 

- (instancetype) init;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithArray: 

- (instancetype) initWithArray: (GS_GENERIC_CLASS(NSArray,ElementT)*)array;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithArray: copyItems: 

- (instancetype) initWithArray: (GS_GENERIC_CLASS(NSArray,ElementT)*)array copyItems: (BOOL)flag;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithArray: range: copyItems: 

- (instancetype) initWithArray: (GS_GENERIC_CLASS(NSArray,ElementT)*)array range: (NSRange)range copyItems: (BOOL)flag;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithObject: 

- (instancetype) initWithObject: (id)object;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithObjects: ,...

- (instancetype) initWithObjects: (GS_GENERIC_TYPE(ElementT))firstObject,...;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithObjects: count: 

- (instancetype) initWithObjects: (const GS_GENERIC_TYPE(ElementT)[])objects count: (NSUInteger)count;
Availability: MacOS-X 10.7.0

This is a designated initialiser for the class.
Subclasses must override this method.
Initialize to contain (unique elements of) objects.
Calls -init (which does nothing but maintain MacOS-X compatibility), and needs to be re-implemented in subclasses in order to have all other initialisers work.

initWithOrderedSet: 

- (instancetype) initWithOrderedSet: (GS_GENERIC_CLASS(NSOrderedSet,ElementT)*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithOrderedSet: copyItems: 

- (instancetype) initWithOrderedSet: (GS_GENERIC_CLASS(NSOrderedSet,ElementT)*)aSet copyItems: (BOOL)flag;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithOrderedSet: range: copyItems: 

- (instancetype) initWithOrderedSet: (GS_GENERIC_CLASS(NSOrderedSet,ElementT)*)aSet range: (NSRange)range copyItems: (BOOL)flag;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithSet: 

- (instancetype) initWithSet: (GS_GENERIC_CLASS(NSSet,ElementT)*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

initWithSet: copyItems: 

- (instancetype) initWithSet: (GS_GENERIC_CLASS(NSSet,ElementT)*)aSet copyItems: (BOOL)flag;
Availability: MacOS-X 10.7.0

Description forthcoming.

intersectsOrderedSet: 

- (BOOL) intersectsOrderedSet: (NSOrderedSet*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

intersectsSet: 

- (BOOL) intersectsSet: (NSSet*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

isEqualToOrderedSet: 

- (BOOL) isEqualToOrderedSet: (NSOrderedSet*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

isSubsetOfOrderedSet: 

- (BOOL) isSubsetOfOrderedSet: (NSOrderedSet*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

isSubsetOfSet: 

- (BOOL) isSubsetOfSet: (NSSet*)aSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

lastObject 

- (GS_GENERIC_TYPE(ElementT)) lastObject;
Availability: MacOS-X 10.7.0

Description forthcoming.

objectAtIndex: 

- (GS_GENERIC_TYPE(ElementT)) objectAtIndex: (NSUInteger)index;
Availability: MacOS-X 10.7.0

Description forthcoming.

objectAtIndexedSubscript: 

- (GS_GENERIC_TYPE(ElementT)) objectAtIndexedSubscript: (NSUInteger)index;
Availability: MacOS-X 10.7.0

Description forthcoming.

objectEnumerator 

- (GS_GENERIC_CLASS(NSEnumerator,ElementT)*) objectEnumerator;
Availability: MacOS-X 10.7.0

Description forthcoming.

objectsAtIndexes: 

- (GS_GENERIC_CLASS(NSArray,ElementT)*) objectsAtIndexes: (NSIndexSet*)indexes;
Availability: MacOS-X 10.7.0

Description forthcoming.

reverseObjectEnumerator 

- (GS_GENERIC_CLASS(NSEnumerator,ElementT)*) reverseObjectEnumerator;
Availability: MacOS-X 10.7.0

Description forthcoming.

reversedOrderedSet 

- (NSOrderedSet*) reversedOrderedSet;
Availability: MacOS-X 10.7.0

Description forthcoming.

set 

- (GS_GENERIC_CLASS(NSSet,ElementT)*) set;
Availability: MacOS-X 10.7.0

Description forthcoming.

setValue: forKey: 

- (void) setValue: (id)value forKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Description forthcoming.

sortedArrayUsingComparator: 

- (GS_GENERIC_CLASS(NSArray,ElementT)*) sortedArrayUsingComparator: (NSComparator)comparator;
Availability: MacOS-X 10.7.0

Description forthcoming.

sortedArrayUsingDescriptors: 

- (GS_GENERIC_CLASS(NSArray,ElementT)*) sortedArrayUsingDescriptors: (NSArray*)sortDescriptors;
Availability: MacOS-X 10.7.0

Description forthcoming.

sortedArrayWithOptions: usingComparator: 

- (GS_GENERIC_CLASS(NSArray,ElementT)*) sortedArrayWithOptions: (NSSortOptions)options usingComparator: (NSComparator)comparator;
Availability: MacOS-X 10.7.0

Description forthcoming.

valueForKey: 

- (id) valueForKey: (NSString*)key;
Availability: MacOS-X 10.7.0

Description forthcoming.


Up