0 votes
in Technology by (1.7m points)

What can’t we put into an array or dictionary?

1 Answer

0 votes
by (1.7m points)

nil is not an object that you can add to an array: An array cannot contain nil. This is why addObject:nil crashes.

...