NSMutableArray represents a modifiable (mutable) array object for Cocoa and Cocoa Touch.
-1
votes
1answer
37 views
About NSArray nil crash error
How to avoid this crash error!Crash in main thread Log is
ProcessArray:()
ProcessArray == 0
-[NSNull length]: unrecognized selector sent to instance 0x3c4e1090
my code:
ProcessArray = [[NSArray ...
0
votes
1answer
13 views
iOS program to display database contents in app seperated by tabs
I have a program that connects to a MAMP server and selects my database and displays the contents in the Xcode simulator. Right now I have 2 tabs and the data is the same for both. I want the tabs to ...
0
votes
1answer
13 views
iphone sdk+How to retrive dictionary inside array of dictionary values
i want to retrive KpiName key(KpiData is array inside kpiName is dictionary key) and my data structure mentioned below
--Array of dictionaries inside array of dictinary
ex..listOfProjectsArray--(
...
0
votes
1answer
38 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 ...
0
votes
2answers
35 views
how to go on next page from cell tableView to 2 page
I create one page with name ViewControll that is tableview.
I read 2 group NSString from url and store that in NSMutableArray. (names : file & folder) and both array store one array with ...
0
votes
2answers
25 views
Fill array only once in iphone application
I am filling array in view did load method but the problem is that each time view is loaded it adds again and again same content i want that if first time view is loaded then it should add contents in ...
0
votes
2answers
49 views
how to add NSString from loop in NSMutableArray
I want to add NSString Name in NSmutableArray but I dont know about that.
I get 5 NSString name from url in wamp server and I want add these names in NSMutableArray.
this is my code but do not ...
1
vote
3answers
39 views
trying to display information from an object of a NSMutable array that is in AppDelegate from another class with a dot operator
I am trying to figure out how to access and display info from an object from a NSMutable array that is created in my AppDelegate.
From my AppDelegate.h
@property (readonly, retain) NSMutableArray ...
0
votes
1answer
50 views
Any ideas on why NSArray response is not copying into another array
Here is my code.
self.array = [[NSMutableArray alloc] init];
[myApp getCampaigns:^(NSArray *response) {
[self.array addObjectsFromArray:response];
}];
if I use NSlog for response it shows two ...
1
vote
1answer
29 views
Ordered Arrays with Firebase
As Firebase doesn't guarantee order when reading from a base, we can get unordered output from this async call:
-(void)loadDataFromFirebase
{
handles = [[NSMutableArray alloc] init];
...
0
votes
0answers
42 views
NSMutableArray debug [duplicate]
I read now Apple's guide about collections, and try to see their code. When I watched code step by step I saw something strange for me
Why in right colomn strings not under its indexes? And why ...
0
votes
1answer
10 views
Why are my integers (pulled from an array) not being checked in my if statement properly?
I've got an app playing sound files and I'm using integers to calculate the difference in pitch. The user responds with what they think the answer is and both the actual results and the user's answers ...
1
vote
2answers
39 views
how to create cell go on next page
I create one page that is TableView and this TableView has many cell from this code :
@interface ViewController : UITableViewController
{
NSMutableArray *animal;
NSMutableArray *color;
...
0
votes
2answers
44 views
how to add object multi NSArray in one NSMutableArray
I want add object from 2 NSArray to NSMutableArray. I dont know about this.
this my code:
@interface ViewController : UITableViewController
{
NSArray *animal;
NSArray *color;
...
-3
votes
3answers
39 views
how to create cell with many data in tableview [duplicate]
Im new in iphone and I want know that what can create tableview with many cell of object like this :
NSMutableArray *animal = [[NSMutableArray ...