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