What can’t we put into an array or dictionary?
Answer / Pranaw Kumara
In Objective-C, you cannot add non-object types such as primitive data types (like int, char, float) directly into arrays or dictionaries. To use these types, you would typically wrap them in NSNumber objects before adding to collections.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to reverse array in objective c?
Is objective c the same as c++?
What do you mean by cocoa?
What are the two types of m files?
What does the m mean in xcode?
Is objective c faster than swift?
What is a block objective c?
What are nsautoreleasepool and how can we use them?
Is objective c dynamically typed?
How dispatch_once runs only once?
What does @synchronized() do?
What is dynamic dispatch method?