NSMutableSet(FunkyNilTolerant)
@interface NSMutableSet <ObjectType>
(FunkyNilTolerant) @end
This is a category on NSMutableSet to convert the current set into a nil-tolerant collection.
See
Immutable counterpartNSSet(FunkyNilTolerant)
-
This method converts the regular NSMutableSet into a nil-tolerant collection, with the same content.
See
Immutable counterpart-[NSSet(FunkyNilTolerant) nilTolerant]Declaration
Objective-C
- (FunkyNilTolerantNSMutableSet *)nilTolerant;Return Value
A nil-tolerant NSMutableSet (a.k.a.
FunkyNilTolerantNSMutableSet) with the same content. -
This method creates a new nil-tolerant mutable collection.
See
Immutable counterpart+[NSSet(FunkyNilTolerant) nilTolerantSet]Declaration
Objective-C
+ (FunkyNilTolerantNSMutableSet *)nilTolerantSet;Return Value
A nil-tolerant NSMutableSet (a.k.a.
FunkyNilTolerantNSMutableSet). -
This method creates a new nil-tolerant mutable collection by providing its capacity.
Declaration
Objective-C
+ (FunkyNilTolerantNSMutableSet *)nilTolerantSetWithCapacity: (NSUInteger)capacity;Parameters
capacityThe desired capacity of the collection
Return Value
A nil-tolerant NSMutableSet (a.k.a.
FunkyNilTolerantNSMutableSet) with the givencapacity. -
This method creates a new nil-tolerant collection, containing the given object parameter.
See
Immutable counterpart+[NSSet(FunkyNilTolerant) nilTolerantSetWithObject:]Declaration
Objective-C
+ (FunkyNilTolerantNSMutableSet *)nilTolerantSetWithObject:(ObjectType)object;Parameters
objectThe object parameter intended to be stored in the collection
Return Value
A nil-tolerant NSSet (a.k.a.
FunkyNilTolerantNSMutableSet). -
This method creates a new nil-tolerant collection, containing the original content of the passed set parameter.
See
Immutable counterpart+[NSSet(FunkyNilTolerant) nilTolerantSetWithSet:]Declaration
Objective-C
+ (FunkyNilTolerantNSMutableSet *)nilTolerantSetWithSet: (NSSet<ObjectType> *)set;Parameters
setThe items intended to be stored in the collection
Return Value
A nil-tolerant NSSet (a.k.a.
FunkyNilTolerantNSMutableSet).
View on GitHub
Install in Dash
NSMutableSet(FunkyNilTolerant) Category Reference