If I have a sprite in a NSMutableArray of sprites in Cocos2d and need to access the x and y values of a specific sprite how can I do that?
How to resolve the following type of warning? NSMutableArray may not respond to objectForKey. UISwitch may not respond to setAlternateColors:
just a short question: Does the NSMutableArray -addObject:(id)object method retain the object-parameter?
I\'m trying to use addObject: on an NSMutableArray with a class I\'ve created, called Position. According to the logs, the Position instance that I am adding to the array is not nil -- I can output it
This is my first time posting. I have been afraid to post anything since I am a noob with C++ but I do have to say I seem to be catching on fairly quick since I am an experienced html, css, javascript
I thou开发者_如何学运维ght that I was really close to release this new App of mine when I ran into a dead end. My code works without memory leaks in the simulator (Xcode 4.0.2) but reports memory leak
开发者_JS百科I have an NSMutableArray with many objects in it. Some are NSStrings, others are NSMutableArrays, others are NSNumbers. What is the best way to store this data so that the app could use i
I have been able to make the listview show a single field of data using parts of the code like below.
Can someone exlain this code in detail and suggest how I can sort on the name? - (void)handleSearchForTerm:(NSString *)searchTerm {
I have an array of dictionaries. Each dictionary have a key \"color\" and the possible values of color are \"red\", \"green\", \"blue\", \"yellow\".