Recently, I have begun porting my iPhone app to the iPad and I have a view with a UITableView subview. Is there any way to rescale the table? The autoresizing masks don't blow up the font and I basically just want a rescaled, crisp, larger version of the table for the iPad. Is there an easy way to go about doing this?
...
Quick question about swipe to delete feature in UITableView - is there a way to just go ahead and delete the row without showing the Delete button and waiting for user's confirmation?
...
Hi all,
In my application , the tableview is having different types of custom cells with different heights. I want to put a view below this tableView, for which I need to calculate the table contentView height, how can I do it?
Earlier I used to do it like: (noOfRows * cell_height), but that was for static heights.
Thanx in advance.
...
In an iPhone app I'm developing, I grab a set of data from a web service, store it in a mutable array for showing in a table, and also store it in core data as backup when there is no network.
My array is initialized in application:didFinishLaunchingWithOptions: as follows
tableArray = [[NSMutableArray alloc] initWithCapacity:100];
the ...
i am using a UITableview in a navigation based application in this way
UIView *containerView =
[[[UIView alloc]
initWithFrame:CGRectMake(0, 0, 300, 100)]
autorelease];
[self.view addSubview:containerView];
TableView.rowHeight=50;
Tableview.tableHeaderView=containerView;
then i navigate to the next page.But After clicking the bac...
Hello guys,
I have a UITableViewController and in the didSelectRowAtIndexPath method I create an instance of a UIViewController and push it on to the stack.
The UIViewController is meant to edit the content of the selected cell but how do I get the changes made in the ViewController transfered back to the TableViewController?
Cheers
...
Hi all,
I'm very new to iPhone development, so appreciate if I'm kind of dump.
What I want to do, is to create a group of buttons. I know there is something like a button group, but only for buttons in a line. I want to create a button group, which will look like a UITableView, with several rows and at least 2 columns. I know I have see...
Hi Guys,
I've a problem with my TableController.
When I call cellForRowAtIndexPath() I'm able to retrieve info from Database class with:
myGroupsAppDelegate *appDelegate = (myGroupsAppDelegate *)[[UIApplication sharedApplication] delegate];
myGroupsDB *mgdb = [ appDelegate.groups_db objectAtIndex:indexPath.row ];
cell.textLabel.t...
I'm currently working on an application in which I'm using grouped UITableViews. The design calls for a gradient background when the cells are in a selected state. I've achieved this by using an image that was created with the proper gradient. This works perfectly when it's in the middle cells however, when it's the top and bottom cel...
Hi,
I want to use a TableView for representing a Username/Password textfields dialog in a nice and grouped view. I figured the best case is to use the TableView and two cells for this.
I kind of got lost in the implementation... Is there any built in cells for this that I am missing?
...
Hey guys,
When you drag over a UITableViewCell in a TableView, the cell gets highlighted ("selected"), but didSelectRow... is not called. I wish to disable that selection. How would I do that? Note that setting the selectedStyle for a cell to selectedStyleNone, or something like that, is not what I want. I really want the OS not to sele...
I have a UITableView where every cell either gets/loses a checkbox or goes to another table view when clicked. For every table, I want to add a check all button that checks off every cell in that table and all the ones inside it. How do I allow one UITableViewCell to toggle the checkbox of every one in it's TableView?
EDIT: Removing...
Hey all,
I have this bizarre problem. I'm making a checklist program with XCode and I'm using UITableView with UITableViewCellAccessoryCheckmark. I can select cells and the checkmark will appear, but somehow, other cells that I have NOT yet selected below will also have a checkmark appear. Any ideas?
Here's my check mark coding:
- (voi...
I have a sectioned UITableView which loads data from a plist file. The table uses custom cells with dynamic height to fit the content of each cell. The table loads just fine initially, but after scrolling down and back up, the cells seem to be overlaying one another in some sections.
I've attached an image illustrating the issue I am h...
I have a UITableView that needs to be updated after a notification is posted. I do this by calling reloadData on the TableView. Before I upgraded to OS 4 the tableView would maintain its vertical scroll position. After upgrading to 4.0 it scrolls to the top after reloadData is called. Thoughts?
...
How can I detect when a tableview has been scrolled to the bottom so that the last cell is visible?
...
I would like to fill an array from a file every time one of my tableview's is selected in the tab bar.
I dont think putting the code in the viewDidLoad method works, because the view gets loaded on once?
Where should the code be placed?
Within the viewDidAppear method?
...
I have a sectioned UITableView which loads data from a plist file. The table uses custom cells with dynamic height to fit the content of each cell. The table loads just fine initially, but after scrolling down and back up, the cells seem to be overlaying one another in some sections.
I've attached an image illustrating the issue I am ha...
I have a NSMutableDictionary that I'm loading into a UITableview, The first level has "names" and the second level is "details". I want to be able to edit the attribute (strings) and then save them back into the Dictionary.
I can't seem to find how to do this, every example I see uses Managed objects with a separate editor for each item...
hi everyone,
i've got a NSMutableArray created from a data source object
NSMutableArray *mutableFetchResults = [[managedObjectContext executeFetchRequest:request error:&error] mutableCopy];
[self setAmountArray: mutableFetchResults];
every object in my mutable array has the two instance variables name and timeadded.
now i want to ...