NSArray(FunkyNilStoring)
@interface NSArray <__covariant ObjectType>
(FunkyNilStoring) @end
This is a category on NSArray to convert the current set into a nil-storing collection.
See
Mutable counterpartNSMutableArray(FunkyNilStoring)
-
This method converts the regular NSArray into a nil-storing collection, with the same content.
See
Mutable counterpart-[NSMutableArray(FunkyNilStoring) nilStoring]
Declaration
Objective-C
- (FunkyNilStoringNSArray *)nilStoring;
Return Value
A nil-storing NSArray (a.k.a.
FunkyNilStoringNSArray
) with the same content. -
This method creates a new nil-storing collection.
See
Mutable counterpart+[NSMutableArray(FunkyNilStoring) nilStoringArray]
Declaration
Objective-C
+ (FunkyNilStoringNSArray *)nilStoringArray;
Return Value
A nil-storing NSArray (a.k.a.
FunkyNilStoringNSArray
). -
This method creates a new nil-storing collection, containing the given object parameter.
See
Mutable counterpart+[NSMutableArray(FunkyNilStoring) nilStoringArrayWithObject:]
Declaration
Objective-C
+ (FunkyNilStoringNSArray *)nilStoringArrayWithObject:(ObjectType)object;
Parameters
object
The object parameter intended to be stored in the collection
Return Value
A nil-storing NSArray (a.k.a.
FunkyNilStoringNSArray
). -
This method creates a new nil-storing collection, containing the original content of the passed array parameter.
See
Mutable counterpart+[NSMutableArray(FunkyNilStoring) nilStoringArrayWithArray:]
Declaration
Objective-C
+ (FunkyNilStoringNSArray *)nilStoringArrayWithArray: (NSArray<ObjectType> *)array;
Parameters
array
The items intended to be stored in the collection
Return Value
A nil-storing NSArray (a.k.a.
FunkyNilStoringNSArray
).