uitableview

UITableView performance degrading after adding subviews on cell iphone sdk

Hi all, In my application, I'm adding a label and two buttons on cell of UItableView [I have not created a separate cell class]. I'm adding these to cell and not cell.contentview. After I run my application on IPhone, the tableview cell rendering after I move the cells up-down, is very jerky. Is it because I'm not adding the views on ce...

Custom UITableView Issues

Hi, I have one UITableView which I want to have three sections - all of which are made up of custom cells. The first section needs to be the normal cell height and width, but the second section (with the Tweets, Followers etc.) I want to fit two rows in one row like in the second section in the image below. I've tried changing the widt...

Cell contents changing for rows present outside the height of tableview(to see this cells, we shud scroll down)?

I have set the size of the tableView that I show as the popoverController as 4*rowheight. And I am using 12cells in the tableView. Each cell contains an image and a label. I can see all the cells by scrolling. Upto 5th cell its ok. After th2 5th cell, the label and the image that I am using in the first four cells are being repeated for ...

How do I make UITableViewCell's ImageView a fixed size even when the image is smaller.

I have a bunch of images I am using for cell's image views, they are all no bigger than 50x50. e.g. 40x50, 50x32, 20x37 ..... When I load the table view, the text doesn't line up because the width of the images varies. Also I would like small images to appear in the centre as opposed to on the left. Here is the code I am trying ins...

Custom Scrollbar for UITableView

the iTunes song list display is a TableView that has a dotted scrollbar on the right which allows me to jump to a relative position of the list (i.e. if I click the bar at 2/3 down I am scrolled to the 66% position of the list. I want to do the same in my UITableView, but am not sure whether this is standard functionality that I can use...

uitableview to fake a multifont uitextview

has anyone used a uitableview to write a uitextview-like interface where I would be able to use multiple fonts? How would I arrange the table and responder? I need to have a editable view which deals with raw text (the font info would be stored elsewhere). UIWebView doesn't cut it because of both reasons. ...

Drill down tableView: it doesn't show any row on the second view.

I'm trying to build a Drill down tableview to show the information that I have in a hierachy of arrays and classes. I have 3 classes: class Video { nameVideo, id, description, user... } class Topic {nameTopic, topicID, NSMutableArray videos; } class Category {nameCategory, categoryID, NSMUtableArray topics} //AppDelegate.h NS...

How can I get the UITableView scroll position so I can save it?

Is there any way to find out which UITableViewCell is at the top of the scroll window? I'd like to get the current scroll position so that I can save it when the app exits. When the app gets started I want to scroll to the position it was at when it last exited. ...

How do I change UIButtons that I have inside UITableViewCells

Ok I have a UIButton inside every row of a UITableView, and I want to fade it to alpha 0 when it begins editing. Then the opposite when it goes back to normal. How do I do this? I know what methods to use but how do I access the buttons from outside tableViewcellForRowAtIndex:? ...

Why isn't my UITableView appearing in the correct scroll position?

I have a split view-based app that presents a master-detail interface, and uses a popover to present the master list when in portrait mode. The popover presents a sectioned table view that ultimately gets populated by a subclass of NSFetchedResultsController. I can tap the tool bar button to present the master list, scroll to whatever ro...

Push different views from a table.

Hello All, Ive been following a tutorial to implement a search bar ( http://www.iphonesdkarticles.com/2009/01/uitableview-searching-table-view.html ) However I cant seem to push different views. Here is what my didsSelectRowAtIndexPath looks like. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexP...

iPhone Core Data: request for member 'tableView' in something not a structure or union

I am trying to use CoreData to populate a UITableView. I have been using the developer "Locations" project, and I think I have everything correct. But, now I am getting the following error when I build: request for member 'tableView' in something not a structure or union Why would it be confused about tableView? I am using it many ...

UITableViewCellSeparatorStyleNone does not hide blue separator line when selecting in UITableView

Before describing the problem, let me first point out that this is a distinct issue from this question. The Problem This screenshot was taken with a break set at tableView:didSelectRowAtIndexPath:, and as you can see in the simulator (far right of the image), there's a single-pixel blue line at the bottom of the selected cell. This is ...

How to implement "Load 25 More" in UITableViewController

Hi guys, I am working on an iphone application. Application loads plenty of records from a webservice into table view controller. I would like to load 25 records initially and remaining in 25 batch on clicking something like "Load 25 more" at the end of the table view. Any help would be grealy appreciated. Thanks ...

How to add a view on cell.contentview of uitableview iphone sdk

Hi all, In my application I'm creating a .xib of a class and loading that .xib on cells of uitableview of another class. I want to add this .xib to cell.contentView and not cell. How shall I do that? - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString* cellIdenti...

Background image in a UITableView in the Root View of a Split View

I have an iPad app with a SplitView. On the left (in the RootView) there's a UITableView. How to insert a background image in that UITableView? ...

Callback for UITableView animations

Is there a delegate protocol that includes a callback for the end of animated changes to UITableView? Particularly reloadSection/Rows? ...

Selected UItableViewCell staying blue when selected

When I push a view after a user has selected a UITableView row, the row gets a blue highlight, and then the new view appears. That's fine. But when I go 'back' the row is still highlighted in blue. Here's my didSelectRowAtIndexPath code. - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { Se...

How to do edit-in-place in a UITableView?

Is there a standard way to set up a table to allow editing-in-place, kind of like this: http://www.gtp.com.au/gtpicommerce/images/iphone4.jpg I only need editable text at the moment, but I might need UISwitches or UISliders in the future. ...

Prevent header from being updated after calling reloadData?

I have a UITableView with a custom header that maintains some state. When I call reloadData to change/update the data in the UITableView, the header gets reloaded too. Is there any way to prevent this behavior in order to maintain state in the table's header? ...