UITableViewCell Text Help
Hi, I want to add text to a specific UITableViewCell in addition to the cells text, like "sub-text" to the cell. How can I do that? If I use cell.textLabel.text it applies to the whole tableView Thanks! ...
Hi, I want to add text to a specific UITableViewCell in addition to the cells text, like "sub-text" to the cell. How can I do that? If I use cell.textLabel.text it applies to the whole tableView Thanks! ...
Hi all, i´m writing some kind of product list within an TableView. My problem is that some cells have an image and some don´t furthermore the images don´t have the same width. The problem is that the textlabel and the detailtextlabel do not indent vertically aligned over all of the cells. But i need all textlabels accurately under eac...
Hi, what is meaning * Terminating app due to uncaught exception 'NSRangeException', reason: '* -[NSMutableArray objectAtIndex:]: index 1 beyond bounds [0 .. 0]' so that i can solve my problem thanks ...
I currently have two UITextFields inside two corresponding UITableViewCells. This is how it looks: - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier]; if...
Hi, Is there any way to change the cell.detailTextLabel from the app? For example, the user have to choose gender, I would like to display the selected gender under the detailTextLabel Thanks! ...
I am having trouble setting up my cellForRowAtIndexPath with Sections. If I were to just show all "tracks" without separations of sections by "topics" then it works fine. Track *aTrack = [appDelegate.tracks objectAtIndex:row]; cell.textLabel.text = aTrack.track_title; I have already set up my numberOfSectionsInTableView, numberOfRowsI...
Hi guys! I'm new to stack overflow and to cocoa-touch developing. I'm trying to build a UITableViewCell using the UITableViewCellSytleValue2 with a multi-line detailTextLabel. Therefore I implemented the tableView:heightForRowAtIndexPath: like that: - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)i...
Hi, I'm not seeing the text for my UITableView show up.. in fact the TableView doesn't appear to be on the screen at all because I cannot select the empty rows. Strangely, my log in cellForRowAtIndexPath shows up ok with the expected data - I just don't see any on the screen. -(void)bindFriendsToTable:(NSArray *)friends{ NSLog(@"frien...
Hi. I am sending argument in xml feed from search bar to php page. now what i want to do is to display no result found in table view if no match found against that argument.... Can any body tell how to do. that.... ...
Hey, I'm basically trying to retrieve data from SQlite db and populate a tableView from it. The sql-data-retrieval method creates two arrays. "dataArray" and "SectionArray". DataArray is filled with data NSObjects. Uptil this point, i can create the appropriate Section headers. Here is the problem, -1 What do i do to make sure th...
... i am sure this is a basic question, so thank you in advance. i add a cell to the end of a section when in editing mode and i give it UITableViewCellEditingStyleInsert. how do i set what function that button calls? ...
I am trying to customize my UITableViewCell and am subclassing it and then overloading layoutSubviews as suggested in this thread: http://stackoverflow.com/questions/1303695/adjusting-the-positions-of-the-labels-in-a-uitableviewcell/1303719#1303719 I can get the width of my label to change this way, but I am unable to use the following...
Hey guys, Is there anyway of renaming a specific cell's text? I know what the row number is, but I don't know how to change the cell title. Any help would be appreciated. Thanks, Kevin ...
Hi! I was wondering, is there any methods to retrieve a specific cell from an UITableView? For example, from where I am I can access my UITableView, so I would like to call something like cellForRowAtInteger:3 and that would return a cell so I could manipulate it. Any ideas? Thanks! ...
Can I make each cell a different height in a UITableView? How so? ...
I'd like to make a custom UITableViewCell height using (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath. I'm trying to get the height of the UITableViewCell by multiplying the number of lines in textLabel by the height of each line and then adding 10.0f for the subtitle. I am using the follow...
My application has a sqlite database and i m using executeQuery methods to retrive and insert data. Problem I cannot assign integer values cells of tableview. It does not display data which is in integer format. i want to store integer values into a tableview and show sorted integer data to user. Here i am posting my code 1) in vi...
In my app, I have a UITableViewCell which is used to display a background color setting. In the detailTextLabel, it displays the name of the color with the background set to the actual color, e.g. [UIColor cyanColor]. Note that I am setting the background of the detailTextLabel only, not the whole UITableViewCell. When users tap on the c...
Trying to create a simple table full of buttons, where the buttons are generated at run-time; the table appears, and has the right number of rows etc., but the rows appear to be empty. public override UITableViewCell GetCell (UITableView tableView, NSIndexPath indexPath) { // The NavItem class is a "Josh Bloch enum" with...
My app has a ManagedObject that has different types of fields So, I want it for the user to edit each one and also have it display different info for each. If you look at the Calendar app, when you Add an Event, you'll notice Title/Location in one cell, Starts/Ends in another, Repeat... so on. So... in Interface Builder I have all my U...