uitableview

How to load local HTML string in UIWebView nested in a customized UITableViewCell?

Hi guys, Is there anyway to achieve the above effect? I need to render HTML-table tags in UITableViewCells. And the UITableViewCells need to have variable height also. Have done a bit of research. Some say it will be very slow. But wonder if anyone can help out with this? ...

Redraw or Reset table view header and/or footer

Is there a way other than [tableView reloadData] to refresh table header and/or footer? With respect to both: - (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section; OR - (NSString *)tableView:(UITableView *)tableView titleForFooterInSection:(NSInteger)section; For example, I'm showing a small summary...

Potential leask of an object, Biuld and Analyze, viewForHeaderInSection

Hi again, i've just mad Build and Analyze with my project on iphone, and i got warning from analyzer which i don't understand, this is my function: - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { [self.tableView deselectRowAtIndexPath:indexPath animated:YES]; NSLog(@"user did select row ...

navigating between textfields of uitableview

Hi all, I am making an coredata application in which I was instructed to make a tableview (filling form) with textfield in each row which I did successfully. Then I made a toolbar with previous and next button and add to textField's inputAccsoryView for navigating between the textfields of each cell. One textfield per row . I am also ab...

UITableViewController init method not called

I've created an iPad application with a UITableViewController in the UISplitViewController (and everything works :) Since I'd like the table to use UITableViewStyleGrouped, i added: - (id)init { self = [super initWithStyle:UITableViewStyleGrouped]; if (self != nil) { // Initialisation code } return self; } to ...

removeFromSuperView is not working?

I am trying to use MikeJ's technique for loading images into a TableViewCell asynchronously. However, I am running into one issue. The images are loading okay for me, but when I scroll down the list, the cells that don't have the image loaded yet would have an erroneous image showing until the correct image is fetched. I have drilled dow...

UITableView reloadData - cellForRowAtIndexPath not fired

Hello, I have splitViewController which has as MasterViewController some viewController and as DetailViewController some tableViewController. When I push a button on masterViewController I want to show new tableViewController in detailViewController instead of existing one. So I did like this: SearchDetailViewController *searchDetailV...

UINavigationController reloading tableview

In my application I am parsing XML to create a UITableView. When a user selects a row it changes the file that it is parsing and reloads the tableview. I want to create a back button so that the user can go back the the previous XML page they were viewing. In short how can I tell the navigation controller to create a back arrow for th...

How can I stop a UISearchDisplayController from updating as I type?

How can I stop a UISearchDisplayController from updating as I type? numberOfRowsInSection gets called many times as the user types. ...

How to remove searchResultsTableView?

I have a UISearchDisplayController that displays some cells after a user has searched. After the user clicks on the cell, I am pushing a new view to my nav stack. How can I remove searchResultsTableView from the view so that when the user goes back, he doesn't see the searchResultsTableView? ...

Passing a value back from a view

Hey everybody, I had a question about editing the value of a table cell and returning the edited value back to the original cell. I have a UITableView which contains 5 sections of 1 row each. Within cellForRowAtIndexPath I have the following: static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView dequeueReu...

Where in jBoss when using SSL and JAAS are the Cache-Control and Pragma HTTP headers set?

Implemented JAAS and SSL on jBoss 4.2.2 and found the issue with being unable to download .pdf's. after some poking around I found references to the Pragma: No-cache and Cache-Control: no-cache headers, and why that prevents IE from downloading .pdf's and related items. Fine, I stuffed Cache-control, private and Pragma, "" in the header...

Slide over UITableViewCell, present another cell. Framework?

Hey! I am trying to find either a framework or make one myself that can do this: When you slide/swipe across a UITableViewCell, another cell gets displayed (with options such as Share on Twitter, Facebook, email etc). The Twitter-app has got this, and I was wondering if there was an open framework for it. If not, where do you recommen...

UITableView as Picker

I want to use a tableview as a picker. For example, when selecting a ringtone for a contact a tableview of ring tones appears. What is the ideal way to accomplish this? It seems like this would be very common. Thanks for your time. ...

Dragging Out of a Table and Responder Chain

Hello everyone, I'm trying to build something where I can drag a person object from a UITableView into another UITableView. What I've got working so far is that when I select the item in the table to drag (UICustomTableViewCell), in the touchesMoved method, I pop the person object out of the cell and attach it to the superview. The p...

Removing UITableViewCell's accessoryView later?

So I'm setting an activity indicator as the accessory view on my table view cells when they are selected. UITableViewCell *cell = [tableVw cellForRowAtIndexPath:indexPath]; UIActivityIndicatorView *act = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleGray]; [act startAnimating]; [cell setAc...

iphone how to I make a uitableviewcellaccessorydisclosureindicator background transparent?

Can someone please explain to me how I can make a uitableviewcellaccessorydisclosureindicator's background in a UITableViewCell transparent? Right now I'm facing this problem: ...

Sort JSON NSDictionary for UITableView

Hi, I am using TouchJSON to retrieve info for my app and put it in a dictionary. I would like to be able to sort it by values like difficulty and rating. How would I go about this? I have included my .m file. Thanks, enbr http://pastie.org/1091334 ...

Tutorial on How to drag and drop item from UITableView to UITableView

I've been banging my head on this one for a while and I figured it out. I want to give back to the community since I've gotten a lot of help from this website :). I'm trying to copy an item from one UITableView to another UITableView and information I've seen on the web regarding how to do this has been sketchy at best. I figured it out...

iphone uitableview set description by code

hi all! I have my uitableview created with grouped style.. I wish from my code set the description for the sections of my table.. thanks! ...