uitableview

MKMapView in a UITableView and editing

I have a UITableView with two sections that needs to be editable. The first section is a few cells with text, numerical and date content that are provided a separate view controller for editing the values. The bottom section is jst one cell that displays a custom cell which has a MKMapView. This cell is used to visualize the location f...

How to simulate allowsSelection on a UITableView before iPhone OS 3.0?

On OS 3.0, when allowsSelection = NO, it's not possible to select any row and it also cancels row highlighting. On pre OS 3.0, the most obvious solution to disallow selection is to return nil in willSelectRowAtIndexPath, which is part of UITableViewDelegate However, there are two problems with this approach: 1) It's not stable (i.e. f...

Call reloadData on a UITableView from a different controller

I have a table view that uses a location manager to grab the users location. In my didUpdateToLocation method, i create an NSURLConnection to go off to my webservice which returns JSON. The delegate of the Connection is set to an instance of my JSONController class and in its connectionDidFinishLoading method, i need to call [tableView ...

UITableView Scrolling Crash

I am currently developing an iPhone application which loads data from an RSS feed and displays it in a Tab Bar Application in 2 UITableViews, which we we call TableViewA and TableViewB. In the AppDelegate we have the following method: - (void)getDataWithContext:(NSManagedObjectContext *)context { NSAutoreleasePool *pool = [[NSAutore...

cocoa iphone fetchedResultsController sorting

Hey there, I'm working on an app that relies on a set of data that can be sorted in a variety of ways. I've got core-data setup. I have a fetch request that brings in all of the records. I've got a sort button on the left side of the nav controller. It brings up a modal view with table that has my sort options. when you change the ...

custom tablecell valueForSelectedRow problem

I have created a custom uitablecell which contains several values. When the user selects a row, I want to be able to select that row's content for one of the values in the custom uitablecell. If the cell looks like this: ba_type varchar2(20) P source varchar2(20) P row_qual varhcar2(20) If the user has selected the 'sour...

iPhone Table View Data Edit Pane

I have an application I'm working on, and I need the user to be able to add new "Shows", "Movements" and "Dots." These are all represented by classes. At the root of the application, all the shows are shown, the user can click on the show, see the movement in that show, then tap on a movement and see the dots in the movement. It works be...

UITableView crash when updating cells that change sections

I have a table that displays data from a single array and organizes the items into separate sections based on a set of filters. Each filter has a corresponding section. My UI allows the user to tap a check box embedded in each table cell. This check box sets a "checked" flag which affects which section the item is filtered to. Here's an ...

Display NSMutableArray in Table View Cell

MY question is how to 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. I am newbie to Iphone Development... Thanks in Advance - (void)viewDidLoad { NSString *url = [NSString stringWithFormat:@"http://mmabigshow.com/app/get_result_from_quer...

App crashes at cellForRowAtIndexPath

My app crashes when I scroll the UITableView over the first cell or the last cell! Why this is happening? I add with addObject:name the objects of the UItableview . This is the code I use at cellForRowAtIndexPath. Help please! I have been trying to figure out what is going wrong hours! - (UITableViewCell *)tableView:(UITableView *)table...

UITableViewCells reorder when not visible on screen

I have a problem and lots of difficulty finding a solution, even if I would assume lots of people should have had similar issues. Hopefully someone can help me. I've created a Settings screen for my application using a UITableView. A NSArray is used to configure the controls I intend to display. The array looks like this: [self setCont...

How to access a UIActivityIndicatorView in a UITableView's section header view?

Hi everyone, I want to do something pretty simple with my UITableView: I want to add a UIActivityIndicatorView to a section's header view, and make it animate or disappear whenever I want. I had no trouble adding the UIActivityIndicatorView to the header view using tableView:viewForHeaderInSection: - (UIView *)tableView:(UITableView *)...

How to set a custom edit-style icon in a UITableViewCell while in edit mode

Is there any way to have a custom edit-style icon (besides the green plus and red minus icons) when enabling edit-mode in a UITableView? I know I could simulate the the edit-mode animation and just move the cell contents to the right and add a UIImageView, but I was trying to avoid that. ...

in UITableView, can I have two sections with the cells of each section to be variable length?

and also, by doing that, does it align to the iPhone UI guidelines? ...

[iPhone]How to customize header of Section in grouped TableView?

To customize cell, we implement class inherit UITableViewCell. Now, to customize header of Section in grouped UITableView (same to below picture), how to do? Please guide to me! ...

set scroll last UItableview cell

when I scroll position end of UItableview the last UItableview row seems half. how can I show the last row fully and how can I detect scroll to last row? ...

Open source UI framework(s) for manipulating core data in UITableViewController's

Does anyone know of an existing open source UI framework that would help with repetitive tasks like adding or editing core data objects with a UITableViewController with a fairly standard (but hopefully customizable) look and feel? When you are dealing with a lot of objects, it gets repetitive and redundant quickly. If not, I'm conside...

How to use NSFetchedResultsController to support managing data on UITableView like iPhone Photo app.

I am a beginner for iPhone development, I use core data as backed store and show multiple data entities on UITableView. Each data entity will be show as a preview thumbnail, one table view cell will hold 1 to 4 thumbnail. That's means 3 table cells may show at most 12 data entities, just like iPhone Photo. I also need operate to each of...

UITableView isn't refreshing properly after changing dataSource

I have a UITableView with several datasources. This is because, I need to switch the data with a UISegmentedControl, and if I add them as subviews, I cannot use the statusBar to scroll up, etc. At first, I show a login screen: self.tableView.dataSource = loginTableView; self.tableView.delegate = loginTableView; [self.tableView reloadDa...

UISearchBar Table Section Index Titles Overlap

How do I change the width of the UISearchBar when it is inside a table header so that the section index doesn't overlap the textfield? I want to recreate the same layout you find in the contacts view of the phone app. ...