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