How can we put nil it into dictionary/array?
236k points Registered user
The nil in initWithObjects: is only there to tell the method where the list ends, because of how C var args work. When you add objects one-by-one with addObject: you don’t need to add a nil.
Get access to your account and question