uitableview

Displaying dynamic subview in tableviewcell

After the user taps a tableview cell, I'd like to slide open a small view just below the cell . The first screenshot of these two apps show this: Tweetie 2: http://itunes.apple.com/us/app/tweetie-2/id333903271?mt=8 Pastebot: http://itunes.apple.com/us/app/id344614116?mt=8 I know how to dynamically increase the height of a cell but th...

iPhone SDK How to pass selected row from plist in tableview into a UIViewController

I have a tableview populated from a plist and I want to display a detail UIView for a selected row. I don't know how to pass the selected row to the detail view controller. Perhaps someone could advise the best way to do this. The table consist of technical terms and I want to show its definition when a row is selected. Thanks in advance...

How to populate a label field from a selected row in a uitableview

I have a uitableview that is populated from a sqlite query. I want to select or click on a row and then display that row's value in a uilabel field. To show the user that the row was selected. I also want to pass that value on to different controllers that will be called later. Here is a copy of my cellForRowAtIndexPath: - (UITableVi...

AddressBookUI like TableView for my application?

Hi guys, I've got a table-view with more than a thousand entries! That's just crazy, I know, but it makes no sense to split it into a tree. So what I'd like to do is to have an A-Z index and a search-bar just like in address book. Is there such a framework around that lets me set my own datasource that has nothing to do with people and...

expand/collapse section in UITableView

Hi, colud somebody tell me the way to do UITableView expandable/collapsable sections in UITableView as below? http://cdn.mashable.com/wp-content/uploads/2009/07/beejive1.jpg or http:\\2aday.files.wordpress.com\2007\07\iphone1.png (sorry, cannot post more then one hlynk) ...

How to control UISearchDisplayController's own table view?

In my application, when I am not filtering my table, when I tap on a cell, its frame height is increased in order to display a UIProgressView that shows download progress. However, when I filter the fetched results controller data with a UISearchDisplayController, the cells in this filtered table view do not behave in the same way. In...

how to create a custom settings view / make cell label editable

Hi everyone, I need to create a custom settings view used within the app. The app is a mockup so it actually does have one already, it uses a UITableViewCellStyleValue1, but nothing is editable. So essentially what I would like to have is the same thing but with editable detailTextLabel (the label on the right hand side), what's the bes...

How do I disable selectRowAtIndexPath when subview is visible

I am writing a "tweetie 2" like swipe functionality, but have run into what I hope is the last stumbling block. When a user swipes across a table row the "controls" view animates as expected, but when the row is selectd, didSelectRowAtIndexPath is fired off. The desired result is for when the "controls" view is visible to disable the d...

Distinguishing between didSelectRowAtIndexPath and accessoryButtonTappedForRowWithIndexPath

I've implemented didSelectRowAtIndexPath and accessoryButtonTappedForRowWithIndexPath never seems to fire. However, didSelectRowAtIndexPath always fires, even when I click the accessory. Shouldn't these two be exclusive? ...

Objective-C: UITableView cells get written over each time when scrolling up and down

Hi guys, I have a UITableView that gets populated via CoreData, and have just noticed something strange. I have about 20 rows or so in the UITable, and when I scroll down the table and back up again, the cell's label gets written over the top of existing text, and keeps on doing it each time i go down and up again. My code for the CellF...

Adding a UISearchBar on a UITableView

I have an UITableView and I did put an UISearchbar on it. What I want to achieve is that if a user is going to scroll i want the UISearchbar element to be fixed on the top, plus I want the first row of the UITableView fixed as well. Is there any sample code for this ? So far every sample I found the UISearchbar wasn't fixed at the top, ...

change button state in cellForRowAtIndexPath

this is driving me MAD now.. I have a UItableview. Based on an NSMutableArray, I populate it. I set up in reuseTableViewCellWithIdentifier with the following cellRectangle = CGRectMake((ARROW_OFFSET + 5), (ROW_HEIGHT - LABEL_HEIGHT) / 2.0, ARROW_WIDTH, LABEL_HEIGHT); UIButton *tmpButton = [[UIButton alloc] initWithFrame:cellRectangle];...

Custom UITableView (UIView + Cells)

Hi, I already created a UIViewController, where I display text, picture and other information. Now I wanna be able to put somes cells (so a tableView) under this View. What is the best way to do that? Do I have to create a UITableView and create an header with my picture, text.. or other possibility Best Regards, ...

Customizing order of cells in UITableView??

Hey everyone- I need some help. I have a UITableView that has cells that hold the title of an entity. Naturally, inside of a UITableView Section Header, it orders all cells or titles alphabetically by name. Each of these entities have several attributes, and one is a numerical value representing priority. Is there a way to make it so tha...

iPhone Fixed-Position UITableView Background

I'm building an iPhone app without the use of Interface Builder. I have set the background of a grouped UITableView in the following manor: self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"groupedBackground.png"]]; I'm trying to fix this background image so that it doesn't scroll with the table cells. Do...

Should I use Table View or one long chunk of HTML for iPhone?

I'm making an application for the iPhone. Essentially it'll be a guide of sorts, and all the generated information will be in one long window. Each block of information can have a 'link' in it to generate another block of connected information (for example a block about Wallace could link to a block about Gromit) that would appear at the...

Using performSelectorInBackground to load UITableViewCell image in background, performance

I have a method for loading images for UITableViewCell in the background. I use performSelectorInBackground. The problem is these threads are finishing and loading images even though they may not be on the screen anymore. This can be taxing on resources, especially when the use scrolls quickly and lots of cells are created. The images ...

Adding UILabel on top of UITableView

I have an iPhone project with a NIB that only has a table view (UITableViewController). My delegate loads the nib (and associated controller) and all is well. Now I'd like to have UILabel show up when there is no data to show in the table view. Revisiting the NIB it occurred to me that only the File's Owner, Delegate, and the Table View ...

accessoryType Checkmark indents UITableViewCell to the left

Hi there! When i select a cell in my tableview, the cell was pushed to the left by the accessoryTypeCheckMark. my custom cell was programmatically inserted into a tableview - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *selectedCell = [tableView cellForRowAtIndexPath: ...

UITableView from plist dictionary KEYS iPhone

I am attempting to get the name of the custom ringtones in the itunes directory on the iPhone. I can successfully list the custom ringtones, but they re displayed as HWYH1.m4r, which is what iTunes renames the file, but I know theres a way to decipher the actualy name of the song, for example: UHHEN2.m4r = TheSongName. NSMutableDict...