I have an array which has several objects (all of different classes) in it. But using enumeration doesn\'t work on it for some reason.
I\'m trying to replace a string in an array(update array) with a string found at an index of array(other array). Both arrays are initialized in init and i can nslog them in this method. if [str isEqua
Hey guys, using obj-c and the cocos2d framework; How would I populate an NSMutableArray with CCSprite\'s with a for-loop to reduce code.
I have an app with a tab bar. Each tab has its own view controller. I also have a mutable array that each tab view controller should be able to access (get the ith element, add a new element, delete a
i am getting some information from .net webserver and save them in NSuserdefaults. for that my code is
Okay, I can\'t seem to find a clear answer to this question of storage on the iPhone.My model class has several ivars and two very large (MB) mutable arrays of data that are collected from an external
I am using the code below to set my two NSArray ivars: The issue is, I keep getting a memory leak on the following lines:
I have this snippet: 1: if ((s >= kEnumValue1) && (s <= kEnumValue2)) { 2:MyObject * o = [self findObjectFor:s];
I have a NSMutableDictionary that contains NSMutableArrays. The dictionary represents divisions, and the arrays represents the departments within that division. I am trying to fill in the cells of a U
This question already has answers here: 开发者_StackOverflow中文版 Closed 11 years ago. Possible Duplicate: