Functions
The following functions are available globally.
-
Utility function to create and populate an NSMutableArray with a specific size
Declaration
Objective-C
NSMutableArray *createArrayWithSize(int size, NSObject *val)
Swift
func createArrayWithSize(_ size: Int32, _ val: NSObject!) -> NSMutableArray!
Parameters
size
Size of array to create
val
Value with which to initialize array elements