August 15, 2011 —
Anonymous
Filed under:
If you’ve tried doing something like this:
NSDictionary myDictionary = …
then you’ll run into this error code:
error: Semantic Issue: Interface type cannot be statically allocated
You need to declare a pointer to the instance variable. The correct code is:
NSDictionary *myDictionary = …