1
vote
3answers
39 views

NSMutableArray Display Null Value in Table View

- (void)viewDidLoad { self.detailView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, 320, 480) style:UITableViewStylePlain]; self.detailView.dataSource = self; self.detailView.delegate = ...
-2
votes
2answers
58 views

SIGABRT 'Unrecognized selector sent to instance…' [closed]

I'm new to programming for iOS. I've started developing an app using storyboards in xcode. The app contains many different scenes and clicking one button takes you to the next scene with new content. ...
0
votes
1answer
67 views

Creating array of quiz questions that do not repeat

I'm trying to create a basic quiz app where the questions will not repeat. I've looked at several examples and believe I should be storing the questions in an array and then removing one from the ...
-2
votes
1answer
62 views

How to print returned value of Method using fast enumeration [closed]

I'm learning Objective-C using the Big Nerd Ranch Objective C book and I'm having some issues with the Chapter 17 challenge. I am required to create a class called StockHolding which is a subclass ...
0
votes
2answers
45 views

NSUserDefaults returning (null)

I'm a newcomer to NSUserDefaults and am struggling to get my head around something I imagine is probably straightforward for most reading this. I'm trying to retrieve a mutable array of strings if it ...
-3
votes
2answers
32 views

How to access NSMutablearray from one class to another class in cocos2d? [closed]

In my project i need to access the NSMutablearray from one class to another class.I refered many forum but couldnt get the proper solution. Give me a exact solution for this question.
0
votes
1answer
47 views

IOS MVC pattern and data controller for manipulating NSMutableArray

I have: a class called Care an NSMutableArray that is called masterCareList masterView, detailView careDataController for adding Cares to List and count number of objects. I want to count ...
0
votes
1answer
47 views

Insert element at NSMutableArray's end

I am loading an array from a web service and displaying them in picker and all works fine. My array contains random number of questions for every category of questions. Now what i want is that i wanna ...
-2
votes
3answers
31 views

NSMutableArray adding into a cycle

I have this... allTableData = [[NSMutableArray alloc] initWithObjects: [[Food alloc] initWithName:@"1" andDescription:@"Hi man!"], [[Food alloc] initWithName:@"2" andDescription:@"Hi woman"], nil ...
0
votes
1answer
37 views

Fill Array with XML-Strings

My problem is that sendXML has more than one bracket in the beginning: > sendXML: <<<?xml version="1.0" encoding="UTF-8" ...
0
votes
1answer
55 views

Array Controller not updating Table View until “Add” button is pressed

I'm new to Cocoa and Objective-C, so I'm following the Lynda courses and learning a lot. Thing is, I've encountered a problem that I cannot figure out, even though I seem to be doing it exactly the ...
1
vote
1answer
46 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
1answer
34 views

In NSMutableArray values' elements changes strangely

This is relevant code: @property (nonatomic, strong) NSMutableArray *coordinateInPixels; ... NSLog(@"First log %@",self.coordinateInPixels); NSLog(@"self.zoomScale %f",self.zoomScale); if ...
0
votes
2answers
67 views

remove objects from nsmutable array

i am adding textfields in a array one by one in an array by button action, same i want to remove these textfield in another button one by one from last, what should i do i am using this code for ...
0
votes
2answers
42 views

UITextField editing and adding to array

Okay so i have a series of UITextFields that have the tags between 21 and 35. I am using the UITextField delegate to get the value of the textfield when its finished editing and then ...
0
votes
1answer
28 views

Managing UIControls in NSMutableArray

I have an NSMutableArray. I create a UIControl (say UISlider) and add it to this array in a for loop. for (int i=0; i<totalSlider; i++) { UISlider *tmpSlider = [[UISlider alloc] ...
0
votes
1answer
66 views

Xcode/Parse - PFQuery NSMutableArray issue

[It may be a noob question but I've spent a lot of time to solve this issue.] Basically, I am using www.parse.com services to store my data in the cloud. I'm retrieving a NSArray called objects, and ...
2
votes
2answers
55 views

Add UIImage to NSMutableArray

I have a problem with a piece of code that should add images to a NSMutableArray. For some reason the images are not added (the count of the array stays at 0). Can someone please tell me what I'm ...
0
votes
4answers
60 views

Display selective data in UITableView from an array

I Have an NSMutableArray which is being displayed as ( 13002, My Drive, 13006, Testing1, 13007, Testing123 ) In my NSLog I ...
1
vote
3answers
120 views

Storing an NSMutableArray of NSObjects into NSUserDefaults

I am currently writing an app for the iPhone, and one of the design requirements I need is to follow is the following: Store NSObjects into a NSMutableArray, display data to a UITableView and save ...
1
vote
1answer
77 views

Concatenate NSStrings from NSMutableArray to NSString

I need to create a NSString for browsing folders in FTP share. i show the directory on a TableView, and user´s can browse by selecting row ´s Im writing the string of selected rows into a mutable ...
-2
votes
3answers
87 views

Objective C removeAllObjects NSMutableArray

I have a mutable array: NSMutableArray *locations = [[NSMutableArray alloc] init]; When I call a IBAction (which could be called 1000 times if the user kept pressing it i guess) it places pins on a ...
0
votes
1answer
88 views

Saving NSMutableArray and loading it in a UITableView

I want to save multiple NSMutableArray and load it because this array gets it content from a server and i don't want to reload that data every time the app is opened. First I declared the paths: ...
1
vote
1answer
32 views

parsing nsmutabledictionary brings an empty uitable. what am i missing?

i am trying to show display all the words in key "word" from a plist on a remote server. the plist is as follows: <plist version="1.0"> <array> <dict> ...
0
votes
2answers
117 views

plist wont pull into my NSMutableArray. am i missing something?

So here's my code. I'm trying to display content from a plist into a table and i keep running into errors. ive been at it all day so i'm probably missing something fairly easy. hope you guys can ...
0
votes
3answers
96 views

Access NSMutableArray from another class [duplicate]

This is how my Entity classes look: BaseDataEntity.h #import -Foundation/Foundation.h @interface BaseDataEntity : NSObject @property (assign) NSMutableArray *cbxDataList; @property (assign) ...
1
vote
3answers
76 views

Replace, move objects in NSMutableArray

I Have an array which I have already set the capacity to 5. What I want to do is, when I add an object and the capacity exceeds 5 then it moves the whole array structure of objects by one. For example ...
0
votes
1answer
54 views

Adding data from plist from array

So I am new to programming and have been stuck on this for days... I have an array as shown here <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" ...
0
votes
1answer
57 views

iOS Referencing NSMutableArray Within an Object - Deciphering Syntax

xCode iOS not registering: currentCard = [myBook getCard:cardIndex]; Having some difficulty calling a get method (name), for a string, within an Object(addressCard) at a particular index(int ...
0
votes
2answers
168 views

Sorting NsMutable Array

I am getting floor names and storing in _floorNames (NSMutableArray) by using _floorNames=[conferenceHall floorDetails:office]; NSLog(@"floor names=%@",_floorNames); This will print floor names ...

1 2 3 4 5 13
15 30 50 per page