objective c - NSMutableDictionary not being set properly -


I suspect that I am clarifying something here, but it is not working as it should be .. < / P>

  treeRects = @ [@ 83, @ 227.5, @ 0, @ 6.5, @ 136.45, @ 268, @ 62.45, @ 36, @ 23 9 .45, @ 268, @1954.45 ]; [Collision Set Object: Treats Foreke: @ "Tree 1"];  

And the reason that is not working, because conflict has not been started, but I can not seem to do this, every time I write something

collisionRects = [CollisionRects alloc] It really comes with AllKeys option, alloc is not what I am missing?

The way to start an NSMutableDictionary is as follows:

  Collapse = [NSMutableDictionary dictionary];  

If you know the size that needs size roughly:

  collisionRects = [NSMutableDictionary DictionaryWithCapacity: 10];  

Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -