-5
votes
2answers
42 views

Adding data to NSMutableArray from another view [closed]

I want to read the NSMutableArray *menu from my MenuViewController.h, i am tired of trying. This is my code now: // ViewController.h #import <UIKit/UIKit.h> @interface ViewController : ...
-5
votes
1answer
29 views

Objective-C - sort array of strings based on string slice [duplicate]

NSMutableArray looks like ("xxx_20", "xxx_18", "xxx_16", "xxx_19", "xxx_17") I want to sort it into ("xxx_16", "xxx_17", "xxx_18", "xxx_19", "xxx_20") I've tried to use selectors, but I can't even ...
1
vote
1answer
31 views

Write array to plist and fill tableview

I have a method that returns a an NSMutableArray with a bunch of strings. How can I add this array (with strings) to a plist file and use it to fill an UITableView with it? Thanks
0
votes
2answers
33 views

Creating a custom collection of custom classes in Objective C

In the iOS app I'm building, I am currently managing a list of objects (Tasks) by using an NSMutableArray containing a number of NSMutableDictionary objects for each individual task. I would now ...
1
vote
3answers
49 views

Sort NSMutableArray with custom objects by another NSMutableArray [duplicate]

I have 2 NSMutableArrays. First array contains custom object intances with property NSString *itemID, second array contains only from NSString objects with same values of itemID, but in another ...
2
votes
1answer
66 views

iOS array not being filled completely

I am using these two recursive methods to find the paths of files and directories in a certain folder - (NSMutableArray *)getFilePathsFromDirectory:(NSString *)directory{ NSMutableArray *contents = ...
0
votes
1answer
21 views

Saving and retrieving history iphone

In my app i am uploading various types of data such as image, audio, video, text. Now i want that user should be able to view the most recent 100 items uploaded even when he quits and reopens the app. ...
0
votes
1answer
38 views

iOS NSMutableArray sticking

I'm trying to populate a UITableView from an array that contains files in a directory //in my header @property (strong, nonatomic) NSMutableArray *files; //in my tableView:cellForRow:atIndexPath: ...
-1
votes
1answer
47 views

How to pass a returning MutableArray from a method into a MutableArray

I would like to know how to call a method from a NSObjectClass that returns a NSMutableArray and save that returning MutableArray into a NSMutableArray in the calling class. effectively this is how ...
0
votes
1answer
87 views

Attempt to insert non-property value Objective C

Hi l am trying to create a fourates lists from an restaurants Object, my application has a list of different restaurants, l want the ability for users to add favourate restaurants, and this code is ...
-1
votes
3answers
37 views

filtering Dictonaries in array

Here I want to filter dictionary in the array which contains the "cate = subcat" could anybody help me please menuArr :( { Cate = subcat; Description = "Grilled Chicken"; ...
0
votes
2answers
58 views

NSMutableArray subclass init

I'm trying to make a function for a NSMutableArray subclass that only uses integer, but I don't want to use "count." How do I do this? -(NSMutableArrayWithIntegers*)initWithCount:(NSInteger)count ...
0
votes
1answer
54 views

iPhone app crash [__NSCFString objectForKey:] unrecognized selector sent to instance

I am trying to add in tempArray only even number of data.localBookmarks is array of dictionary. Here is my code : currentIndex = indexPath.row; for (NSDictionary *dict in localBookmarks) { ...
2
votes
1answer
55 views

NSMutableArray and NSMutableDictionary in a TableView

I have a problem with using an NSMutableArray and NSMutableDictionary. I've created a quiz that when it stops, it should display the current score and date in a tableview. It should then display ...
0
votes
1answer
32 views

Wrong properties from frame of image in array

I have an array of images that are created within a CGRect frame .h file: NSMutableArray *imageArray; .m file: myImage = [[UIImageView alloc] initWithFrame:myImageRect]; [imageArray ...

1 2 3 4 5 111
15 30 50 per page