cocoa - Attempt to insert nil -


It seems that it should be easy to add bullion to an NSMutableArray.

Assume that toDoArray is intialized to have an NSMutableArray following:

  BOOL checkboxState = NO; [ToDoArray addObject: checkBoxState];  

NSMutable arrays require an id, the object is an odd part of C. An ID is an object, but there are no primitive (for example, s preferences, while NSArray s are objects, and in extensions, id S).

Maybe it can help


Comments

Popular posts from this blog

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

MVP, design question -