When creating arrays remember that any kind of object can be included, but only objects can be included. Note that <code>nil</code> values cannot be included in an array; you should use the <code>[[[NSNull]] null]</code> dummy object instead.

+

When creating arrays remember that any kind of object can be included, but only objects can be included. Note that <code>nil</code> values cannot be included in an array; you should use the [[NSNull|<code>[NSNull null]</code>]] dummy object instead.

Note that when you provide a variable-length list of objects in Objective-C, you need to "terminate" the list with <code>nil</code>. Otherwise, the function has no way of knowing how many arguments there are.

Note that when you provide a variable-length list of objects in Objective-C, you need to "terminate" the list with <code>nil</code>. Otherwise, the function has no way of knowing how many arguments there are.

Creating Arrays

From a List

When creating arrays remember that any kind of object can be included, but only objects can be included. Note that nil values cannot be included in an array; you should use the [NSNull null] dummy object instead.

Note that when you provide a variable-length list of objects in Objective-C, you need to "terminate" the list with nil. Otherwise, the function has no way of knowing how many arguments there are.