uitableviewcell

UITableViewCell set Border

I have a normal UITableViewCell with custom colors, but how can i change the border? Currently it looks very ugly: http://i.imgur.com/QzFFY.png (i am not able to post images :( ) I only want a tiny little white border. ...

Can't access an object's properties in objective-c

I have just jumped into Objective-C and I got stuck pretty early on. I will post code with my question but to keep it readable i'll get rid of some of the crap, let me know if you want more code posted! I have created a new object called 'Phrase' (subclassed from NSObject), and am reading items from JSON into these 'Phrase' objects and...

Image in the TableView Cell causes delay when scrolling

Hi, I've put an image into my tableview cell in which the image is located in a certain URL.. My problem is that when my tableView already displays the data, then scrolling the tableview up & down, it will take some time or delay before it reacts to the scrolling.. I've found out the problem is into the image located in the URL and I...

iPhone SDK - Get textLabel text of selected Cell

Hello I would like to know how to get the textLabel string value of the selected uitableviewcell. Thanks Kevin ...

Pattern alignment when using UILabel with groupTableViewBackgroundColor

I have several UILabels in table cells, and I thought I could set them to be opaque and then setBackgroundColor:[UIColor groupTableViewBackgroundColor]] to make them have the table background. The grouped table background color in the UILabel isn't aligned with the table's background, though, so the lines are broken. Is there any way to ...

UILables not updating properly in a UITableViewCell

Hi there, been having this problem for a few days now and can't seem to find a solution for it. It's probably some very basic stuff but still can't come up with a solution. I have a bunch of labels nested inside table view cells with an edit navigation controller button that goes to another table view. This table view has text fields t...

Is it correct to initialise a UITableViewCell using initWithCoder?

I am loading a UITableViewCell using, [[NSBundle mainBundle] loadNibNamed:@"BlogCell" owner:self options:nil]; cell = blogCell; self.blogCell = nil; where blogCell is an outlet to BlogCell.xib The actual UITableViewCell is of type BlogCell which is a subclass of UITableViewCell. In my BlogCell class I am using -(id)initWithCoder:(...

Centering Subviews in UITableViewCell within grouped TableView

Hi Folks, I'm trying to figure out how to place a subview to a custom UITableViewCell with centered position. As stated in the documentation (Customizing Cells) one should "...add subviews to the contentView property of the cell object or ...". As I noticed it works fine with UITableViewStylePlain. In UITableViewStyleGrouped tables, sub...

How can I avoid a crash when VoiceOver encounters UIPickerView as subview of UITableViewCell contentView?

In my app I have a UIPickerView as a subview of a table cell's contentView. I disable scrolling in the table view, and the arrangement works fine under normal circumstances. However, I've found that when VoiceOver (or the Accessibility Inspector) is turned on, the app crashes as soon as the picker is due to get focus. The error is: -[U...

Adding extra graphic to a a UITableViewCell

I have a UITableViewCell setup and i'd like to add a graphic on the right hand side with a number inside it (similar to the way mail shows how many new mail messages you have) So the UITableViewCell would look something like this; Is there a simple way to do this? Many thanks. ...

UIImageView simply does not appear in custom UITableViewCell

I have a table cell to which I'm adding subviews programmatically. All the textual subviews work fine, but I can't get an image subview working at all. You'll notice that I set the background color to black. This is simply to indicate to me that the subview is indeed being initialized and positioned properly within the cell. When I remo...

How to set selection style as blue if each cell is added an cell back ground image in iPhone sdk?

Hi Guys, I had a problem to set the selection style as blue, I have added the cell back ground image so that i can not set the selection style as blue how can i make it if we added images to each cell. (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell = (UITabl...

UITableViewCell with background image does not look good

Hi, I created my UITableViewCellStyleDefault styled cell and set its background image: cell.backgroundView = imgView; and it works but the background of the text in the cell is still white.So it hides partially the backgroundView. I have tried: cell.textLabel.backgroundColor = [UIColor clearColor]; cell.contentView.backgroundColor = ...

Preserve Cell Image After Scrolling UITableView

I have a custom UITableViewCell which acts as a check list. As the user clicks on the selected item, it goes from red to green indicating a selection, however as the users scrolls further down the list, once they come back up to the top, the image has changed back to it's default red value. How do I go about preserving the state of an ...

Newbie: how do I refresh TabView cells / trigger viewWillAppear in TabView?

Hi everybody, I am fairly new to iPhone/ObjC programming, though I have several years of experience in coding, particularly DB development. The project I chose as my debut is a little app meant to support playing a board game, where one is required to make notes of the playing pieces status. In short, I want to replace pen and paper wi...

Why does this line indefinitely repeat?

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{ UITableViewCellFixed *cell = (UITableViewCellFixed *)[tableView cellForRowAtIndexPath:indexPath]; the second line (ie: the first line after the function is declared) is repeating itself indefinitely. I have no idea why. I got a stack ov...

how to animate + symbol to disappear on table cell

i have an table view and + symbol is on the every cell of table view ,i should able to see disappearing + symbol by animating whenever i selected the cell ...

Large UIImage drawinrect extremely slow on selection

I have a custom UITableView cell that sports an Image, and a headline. I used the fast scrolling example of ABTableViewCell from atebits. It seems when I select the first row (which is my row with the largest image) it takes a considerable amoun of time to highlight the row, and then push the new view controller. However when I select ...

Replace UITableView and UITableViewController with Three20

Hi i have a working UITableViewController and UITableView with custom cells but i want to add some async functionality from Three20, so i would like to migrate my current classes to the ones from Three20, TTTableViewController and TTTableViewController, to use the TTImageView inside of my custom cell. The functionality would be download ...

Can't indent UITableViewCell subclass

I have subclassed UITableViewCell to create a custom cell with a button and 2 labels. The cell definition is loaded from a xib using the pattern outlined in Dave Mark's Beginning iPhone Development. Here's the essential code: NSArray *nib = [[NSBundle mainBundle] loadNibNamed:@"MarketItemCustomCell" owner:self options:nil]; fo...