SBJson returning nil causing cocoa window to not show up

Posted by Matt S. on Stack Overflow See other posts from Stack Overflow or by Matt S.
Published on 2010-05-09T18:35:23Z Indexed on 2010/05/09 18:38 UTC
Read the original article Hit count: 193

Filed under:
|

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?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about JSON