uitableviewcell

Strange issue with UITableViewCell: UILabel turns into something else?

I got this strange issue while working with iPhone SDK 3.1.2. My UITableViewCell contains 3 UILabel, each of which is assigned a numeric tag from 1 to 3. The problem is with the first UILabel (highlighted in the above screenshot): I am unable to set its text to anything. Even NSLog its content gives me a (null). What's interesting i...

Using CGLayer to Cache Cells in a UITableView

I am trying to improve the performance of scrolling in our app. I have followed all of the generally accepted advice (draw it yourself with CG, the cell is opaque, no subviews, etc.) but it still stutters sometimes when we have background CPU and network activity. One solution stated here: http://www.fieryrobot.com/blog/2008/10/08/mor...

Should I use Interface Builder to create Table Cells?

I'm doing a tableview, whose data provider can offer quite a lot of data. There will be an additional Details view for each cell, but I'm thinking that the initial cell could (should) show quite a lot of info, too. Better usability, fancy look & feel, fun to create. The problem is that it's quite a lot of manual coding to create a cell ...

editing style for custom UITableViewCell

how do i set editing style for custom UItableviewcell like this image. this is shopping cart view ,so i am gonna have many UITableViewCell, out of other fields only Qty field is going to be editable. thanks ...

Blurry UILabel as programmatic subview of UITableViewCell contentView

I am adding a UILabel instance as a subview of my custom UITableViewCell instance's contentView. When I select the cell, the row is highlighted blue, except for the background of the label. The label text is sharp. When I set the label and content view backgroundColor property to [UIColor clearColor], the label text becomes blurry. Ho...

How to show multiple customcell and a custom section header in one uitableview?

I want to create a tableview like this. All sections have custom section header views. The first row of first section contains a custom row rest of the first section cell's are another custom cell. Though every section will contain different type of cells. So what is the best approach to achieve this while managing the speed of tablev...

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...

Customized UITableViewCell dissappears

Hello. I've seen a number of people having a similar issue, but either their solution did not help, or it was too different. My problem is, I have a customized UITableViewCell, custom size, image and content. When I scroll up or down and then back again, the text within some of the cells disappears. This seems to be happening randomly...

How to set a uitableviewcell unclickable on the iphone sdk

Hi I'm trying to have my uitableviewcell rendered inactive so that a user can't click but merely say the data in the cell. I attempt to do so with: UITableViewCell *cell = nil; if (indexPath.row < factsCount) { static NSString *FactsCellIdentifier = @"FactsCell"; cell = [tableView dequeueReusableCellWithIdentifier:FactsCellIdentifier];...

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...

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 intantiate a UITableViewCell from a nib

One can add a tableviewcell in the nib of its tableviewcontroller, but how do you get to it ? ...

I can't fill the cells of my UITableView with a NSArray (Normally it always works, but not in the case)

Hello, I have a UITableView with Cells that are filled with the Objects of an NSArray. I´m using the MGTwitterEngine to get Tweets from users. I want to show this tweets in the TableView. Here is the method that is called when the MGTwitterEngine has received all tweets ("namen" and "nachricht" are NSArrays): - (void)statusesReceived:(N...

Multiple Cell Images

Can you place more than one image in a UITableViewCell? ...

Strange problem with custom cells and the uinavigationcontroller

Hey there, I've got a navigation controller that has a grouped table with several rows, each using the same custom cell class. If I select a row it navigates to the next view. When I go back, just for a brief second, the background of the custom cell that was originally selected, expands to the full width of the screen then back again...

Is it possible to edit numberOfLines of UITableViewCell?

Is it possible to edit numberOfLines of UITableViewCell when click on that cell? possible? example cell.textLabel.numberOfLines = 1; when selected at cell cell.textLabel.numberOfLines = 5; thanks for all reply ...

How to change the size of the labels on a UITableViewCellStyleValue2 cell? (UITableView iPhone)

Hi all. I'm using a UITableViewCellStyleValue2 cell in my UITableView in my app and I want the left column (the blue text - self.textField) to be much narrower than the default. I've tried setting the self.textField.bounds after creating the cell but this doesn't seem to work - looking in the debugger it appears the bounds haven't been ...

Change label property when cell selected

Hello, I am using a custom cell with multiple labels contained in it. I would like to change the text color of all labels to white, when the cell is selected. How would do this? Appreciate any help. ...