nsmutablearray
How to sort NSMutableArray elements?
I have model class which contains NSString\'s- studentName, studentRank and studentImage. I wanna sort the NSMutableArray according to studentRanks. what I have done is[详细]
2023-04-04 13:56 分类:问答Assign UIImages to UIButtons via Array
I have 10 images in array and 10 buttons, all i want is to set the images to buttons randomly. i tried this but not succeeded[详细]
2023-04-04 07:45 分类:问答EXC_BAD_ACCESS Mystery
I could use a little help on this one. I narrowed the crash source down to NSMutableArray viewControllers by commenting out the release statement in dealloc.[详细]
2023-04-04 04:32 分类:问答iphone: objectAtIndex crash when tableview have no data
i have the following code [[categories objectAtIndex:row]objectForKey:@\"name\"]; where categories is nsmutablearray .. it is in a tableview but if categories have 0 rows (not null) it gives except[详细]
2023-04-04 04:24 分类:问答How divide array and show in table view?
I am developing a table view. To fill that table i have an array of 75 content. Now i want to show table view like as when first time shown table view then show only 10 row of array and one button who[详细]
2023-04-04 03:23 分类:问答getting data from NSMutable array?
I have created a mutable array called numbers and he holds up 20 diffrent numbers in a random order. as I saw from debugging it, the data stored in the memory and auto dealloc itself.[详细]
2023-04-03 21:45 分类:问答Can't find the cause of my app crashing
I am working on a UIPickerController.I have everything working but when I tap the back button to go to my previous view the app is crashing.[详细]
2023-04-03 17:22 分类:问答What happens if NSMutableArray is modified by multiple threads at the same time? (if the objects it contains are retained elsewhere)
I have an NSMutableArray containing many objects. What happens if a chan开发者_开发知识库ge is made to the array, while I am making a copy of the array using [NSMutableArray arrayWithArray:someArray][详细]
2023-04-03 12:04 分类:问答NSMutableArray remove duplicate items
NSLog(@\"Ci sono %d categorie\",category.count); for(int c=0; c<category.count; c++){ CategoryArray * element =[category objectAtIndex:c];[详细]
2023-04-02 19:03 分类:问答Storing objects in an Array
I\'m working with a database, and trying to store the rows of a table as dictionary in an Array. #import \"RootViewController.h\"[详细]
2023-04-02 18:45 分类:问答