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)anyObject
Declared In
SFSDKSafeMutableSet.h
– containsObject:
Returns true if the object exists in the set.
- (BOOL)containsObject:(id)anObject
Declared In
SFSDKSafeMutableSet.h
– addObject:
Adds a given object to the set, if it is not already a member.
- (void)addObject:(id)obj
Declared In
SFSDKSafeMutableSet.h
– addObjectsFromArray:
Adds to the set each object contained in a given array that is not already a member.
- (void)addObjectsFromArray:(NSArray *)array
Declared In
SFSDKSafeMutableSet.h
– removeObject:
Removes a given object from the set.
- (void)removeObject:(id)object
Declared In
SFSDKSafeMutableSet.h
– filterUsingPredicate:
Filter the set using a predicate.
- (void)filterUsingPredicate:(NSPredicate *)predicate
Declared In
SFSDKSafeMutableSet.h
– enumerateObjectsUsingBlock:
Enumerate objects in the set safely, using a block.
- (void)enumerateObjectsUsingBlock:(void ( ^ ) ( id obj , BOOL *stop ))block
Declared In
SFSDKSafeMutableSet.h
– allObjects
Return an Array of all Objects
- (NSArray *)allObjects
Declared In
SFSDKSafeMutableSet.h
– isEqualToSet:
Returns true if the sets are equal.
- (BOOL)isEqualToSet:(SFSDKSafeMutableSet *)otherSet
Declared In
SFSDKSafeMutableSet.h
count
The number of elements in this set.
@property (nonatomic, readonly) NSUInteger count
Declared In
SFSDKSafeMutableSet.h
+ set
A convenience method to allocate and initialize a new instance of a SFSDKSafeMutableSet.
+ (id)set
Return 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)numItems
Return Value
A new SFSDKSafeMutableSet instance.
Declared In
SFSDKSafeMutableSet.h