Tagged Questions
0
votes
1answer
41 views
How to Add/Remove UITableViewCell when UISwitch is activated?
Here is the Video showing problem in action:
http://www.youtube.com/watch?v=vWznBUsppRg
I'm getting weird behavior with my Array when adding a cell to a section. I'm developing a mobilesubstrate ...
1
vote
2answers
50 views
Deleting objects within a for loop from a NSMutableArray
I am working with a UITableView and for each of the objects in the array that is the datasource for the UITableView, I am deleting them if they meet a certain if statement. My problem is that it only ...
0
votes
2answers
46 views
2 problms with numberOfRowsInSection and cellForRowAtIndexPath
I set a NSMutableArray in viewontrolller.m
barcodeArray = [[NSMutableArray alloc] init];
in viewcontroller.h like this:
@interface SecondViewController : UIViewController <UITableViewDelegate, ...
0
votes
4answers
28 views
Need to insert objects into an NSMutableArray based on cells selected in UITableView in iOS
I have a UITableViewController that has a UITableView whose cells have a button attached to them via the accessoryView. These buttons can be selected/deselected when the user clicks on them. The ...
0
votes
1answer
51 views
UITableView deleteRowsAtIndex & datasource troubles
Happy 14th Baktun everybody!
This thing has been bugging me for a while, and I've googled to and fro, and also checked SO for an answer, but I just can't seem to grasp the answers and apply it to my ...
0
votes
4answers
40 views
iOS UITableView CheckMark Appearing on Every Row
I'm trying to get the cells in my app to only display a checkmark on the rows whose title matches words in an NSMutableArray that is stored in NSUserDefaults. My issue right now is that it is showing ...
1
vote
1answer
68 views
Split NSArray into NSString
My app has a TableView with a list of blog articles, sorted by day. When an article's row is selected, it adds the title of the article into a NSUserDefault NSMutableArray. When the view is ...
0
votes
1answer
31 views
How to set textlabels of UITableView cells
In my app, I have a map that allows the user to drop pins onto the map. The pins geocode the address and set the address as their title. I made it so that the annotations are stored in an array when ...
2
votes
1answer
48 views
Getting Data from an Array in a Previous View Controller, Put it in Another TableViewController
I have 2 TableViewControllers. When the user taps a UIBarButtonItem, It saves the text from a UITextField, runnameField, in SaveViewController. It should take runnameField's text and put it in an ...
0
votes
3answers
77 views
NSMutableArray removeObjectAtIndex crashes on second execution
I have a tableview with a number of rows that i want to be able to delete. The data that populates the tableview is stored in an NSMutableArray. To delete the data on one row i call:
- ...
1
vote
1answer
84 views
How to add multiple pictures to custom tableviewcells with tag or identifier
I want to add pictures from an NSMutableArray to custom cells in a tableview. There will be four or more images in every cell. So here's my problem:
If I refer to indexPath.row the custom cells would ...
0
votes
1answer
48 views
TableViewCells and Array of Dictionaries
I am having trouble understanding how to populate my table with all the dates. returns only the day 9-1-2012 not 8-31-2012. I have tried a few things like using my days and slots in ...
2
votes
4answers
81 views
Use DidSelectRowAtIndexPath to change a NSMutableArray
I thought I figured out myself how to do this question, but it won't work. The code I used:
-(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath*)indexPath
{
...
0
votes
2answers
2k views
Display NSMutableArray in Table View Cell
How could I display arrayData in table view cell?
I want to set the table view cell's label text to the 'ename' from the data parsed.
Please help me out.
Thanks in Advance.
- (void)viewDidLoad {
...
0
votes
1answer
68 views
Why does my UITextField always return the last value in my array?
static NSString *cellIdentifier = @"Cell";
NSMutableArray *fields=[[NSMutableArray alloc] init];
MDSpreadViewCell *cell = [aSpreadView dequeueReusableCellWithIdentifier:cellIdentifier];
if (cell == ...