SFSDKSafeMutableSet Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | SFSDKSafeMutableSet.h |
– anyObject
Adds a given object to the set, if it is not already a member.
- (id)anyObjectDeclared In
SFSDKSafeMutableSet.h
– containsObject:
Returns true if the object exists in the set.
- (BOOL)containsObject:(id)anObjectDeclared In
SFSDKSafeMutableSet.h
– addObject:
Adds a given object to the set, if it is not already a member.
- (void)addObject:(id)objDeclared In
SFSDKSafeMutableSet.h
– addObjectsFromArray:
Adds to the set each object contained in a given array that is not already a member.
- (void)addObjectsFromArray:(NSArray *)arrayDeclared In
SFSDKSafeMutableSet.h
– removeObject:
Removes a given object from the set.
- (void)removeObject:(id)objectDeclared In
SFSDKSafeMutableSet.h
– filterUsingPredicate:
Filter the set using a predicate.
- (void)filterUsingPredicate:(NSPredicate *)predicateDeclared In
SFSDKSafeMutableSet.h
– enumerateObjectsUsingBlock:
Enumerate objects in the set safely, using a block.
- (void)enumerateObjectsUsingBlock:(void ( ^ ) ( id obj , BOOL *stop ))blockDeclared In
SFSDKSafeMutableSet.h
– allObjects
Return an Array of all Objects
- (NSArray *)allObjectsDeclared In
SFSDKSafeMutableSet.h
– isEqualToSet:
Returns true if the sets are equal.
- (BOOL)isEqualToSet:(SFSDKSafeMutableSet *)otherSetDeclared In
SFSDKSafeMutableSet.h
count
The number of elements in this set.
@property (nonatomic, readonly) NSUInteger countDeclared In
SFSDKSafeMutableSet.h
+ set
A convenience method to allocate and initialize a new instance of a SFSDKSafeMutableSet.
+ (id)setReturn Value
A new SFSDKSafeMutableSet instance.
Declared In
SFSDKSafeMutableSet.h
+ setWithCapacity:
A convenience method to allocate and initialize a new instance of a SFSDKSafeMutableSetWithCapacity.
+ (id)setWithCapacity:(NSUInteger)numItemsReturn Value
A new SFSDKSafeMutableSet instance.
Declared In
SFSDKSafeMutableSet.h