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
Post a Comment