I’m using the example here. If there isn’t a value for the key, my application returns -[NSCFArray insertObject:atIndex:]: attempt to insert nil in the console, and my window doesn’t show up. How could I preform a check to make sure this doesn’t happen?
I’m using the example here . If there isn’t a value for the key,
Share
Test whether the object pointer is
nil: