Tagged Questions
1
vote
1answer
30 views
Delete element in array before creating table view cells
Im quite new in objective-c and im trying to do a UItableview app. The whole concept is that i have two views, both tableviews. In the first view controller I have months and depending on which month ...
3
votes
3answers
54 views
Finding out NSArray/NSMutableArray changes' indices
I have a NSMutableArray oldArray. Now, at one point, this NSMutableArray object gets updated with another NSMutableArray, which may have more, less or same number of elements as the previous ...
0
votes
2answers
31 views
creating a class based on NSMutableArray causes Thread 1: signal SIGABRT
I'm trying to create a class based on NSMutableArray filled with objects based on fictional stock market holdings, which works if I simply create an NSMutableArray.
NSMutableArray *portfolio = ...
-4
votes
0answers
21 views
Access and Change Objects array Values [on hold]
trying to access an array.
program Fails, couse there is no Key Matched.
it's an array of Class's objects:
that the log:
arrResults=(
"<Comment: 0x1fa3edc0>",
"<Comment: 0x1fa67e90>",
...
-1
votes
1answer
53 views
How to add an NSMutableArray into NSMutableDictionary as a key? [on hold]
I have an array storing some attributes (those attributes are: tableID(string), tables coordinate(x,y coordinate in float)). Does anyone know how to store this array into NSMutableDictionary? And I ...
1
vote
0answers
39 views
Maximum size a NSLog can print
I was trying to print an array of dictionaries. The dictionary contains 300 keys and their values. There are about more than 6000 dictionaries in the array. But NSLog could print the array when the ...
0
votes
3answers
21 views
How to sort file from document directory by Created Date in iOS?
I have a NSMutableArray that retrieved file from document directory in iOS.
i retrieved files from document directory with following codes.
NSArray *paths = ...
0
votes
2answers
70 views
IndexPath.row on a button?
I have an app in which you can have some details of something and then inside that thing you have a sub-category of things. I have made a button as there was not enough room for a navigation item and ...
0
votes
2answers
62 views
NSMutableArray behaviour with ARC
With ARC enabled when adding an object (e.g. object X) to an NSMutableArray, if that object X is changed directly elsewhere in code, should the "copy" inside the NSMutableArray also be updated?
Is ...
0
votes
2answers
96 views
NSMutable array adding entries?
I am pretty new to objective-c and I am creating an app where records are held. I have tried to make an adding method when I click a save button though it doesn't save the data when you press the ...
-2
votes
2answers
58 views
NSMutableArray with NSDate entries get days count [on hold]
I have NSMutableArray with NSDates some dates are from a same day. What is the best way to get the number of NSDates for a particular day?
Edit:
Sorry, I am not fully explained. I need some kind of ...
0
votes
0answers
23 views
how to set property attributes for classes that include NSMutable array properties
objC newbie question...thanks in advance for any help...
it is my understanding that when i declare for a class a property of type NSMutable Array, i must always declare it with the property ...
0
votes
2answers
62 views
The two nsmutablearray value is getting swap with another in ios
I am inserting NSMutableArray(self.tablePdfListArray) in tableview textlabel and NSMutableArray(self.dateListArray) in detailtextlabel at same index. It got added correctly at first place but when I ...
-9
votes
3answers
88 views
How to find array last element [closed]
NSMutableArray * arr = [[NSMutableArray alloc]initWithObjects:@"1",@"2",...@"n" ,nil];
how to get last position of this array
Any help really appreciated
Thanks in advance
0
votes
4answers
58 views
Grouping the NSArray elements into NSMutableDictionary
I have an NSArray some thing like in the following format.
The group array is :
(
"Q-1-A1",
"Q-1-A9",
"Q-2-A1",
"Q-2-A5",
"Q-3-A1",
"Q-3-A8",
"Q-4-A1",
"Q-4-A4",
...