Hello everyone,
I'm using an UITableView with style UITableViewStyleGrouped initialized as follows:
CGRect imgFrame = CGRectMake(0, 0, 320, 650);
UITableView *myTable = [[UITableView alloc] initWithFrame:imgFrame style:UITableViewStyleGrouped];
myTable.dataSource = self;
myTable.delegate = self; //make the current object the event hand...
Hi all,
I'm learning about the iPhone SDK and have an interesting exception with UITableViewCell subview management when a finger is pressed on some rows.
The table is used to assign sounds to hand gestures -- swiping the phone in one of 3 directions triggers the sound to play. Selecting a row displays an action sheet with 4 options fo...
I am drawing content to a UITableViewCell and it is working well, but I'm trying to understand if there is a better way of doing this.
Each cell has the following components:
Thumbnail on the left side - could come from server so it is loaded async
Title String - variable length so each cell could be different height
Timestamp String
...
I have a UITableView with a custom background image set like this:
self.tableView.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"mybg.png"]];
The background appears fine, but my UITableViewCells (default cells, not custom) have some sort of weird tint to them, and the UILabel containing the "New Project" text a...
I have a full list that populates a UITable. This I want to background the one of the cells with a different color and it works initially, but for some reason when I start scrolling the table up and down, it starts drawing more cells with the green background.
Please note that there is ALWAYS one detailCell.detailTimeLabel.text that's ...
Hi all, i would to have alternate 2 colors of rows, like the first black, the second white, the third black, etc, etc...
my approach is like a basic exercise of programming to calculate if a number is odd number or not:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSStr...
Hi,
I 'm a iphone programming newbie. I m trying to implement an app with multi-level tableviews.
The idea is if someone selects something on the first screen say then a new view opens(tableview)
car make> list of models
Honda > Acura, S2000,accord ...
My challenge is to show the list of models in a new tableview & secondly ch...
I am creating an application. I have to implement a bookmark feature, and adding one should be similar to this:
I want editable UITableViewCells for text input. I was wondering if there is an easier way then embedding a UITextField into a UITableViewCell. And if not, can someone explain how I can use the UITextField inside it? Thanks
...
I want to add a subview to the UITableCellView class. However, non of the provided views in the class seem to be able to do exactly what I was looking for.
I basically want to add my own background view, filling the whole cell. However, if I replace the backgroundView, the style from the grouped table view layout isn't displayed anymor...
This is not really a question because I just solved the problem, but I think the nature of the problem is common for many iPhone devs and the solution wasn't really plainly obvious so I wanted to share my experience. To keep with the StackOverflow "question/answer" format, I'm going to put the details into the question and my solution i...
Hi, this is my first post here and as i am very new (2 weeks in...) to iPhone (or any!) development i am a little unsure as to how much detail is needed or relevant, so please forgive me if I dont provide enough to be useful at this stage...
Anyway, on to my problem - I have set up a UITableView-based app, which has a .plist for holding...
So I have a huge UITableView, between 1000 and 3000 rows. Each row needs to, when selected, expand to include several buttons. I do this by rendering the buttons below the cell, enabling clipping on the cells, and then just animating a change in height when they're selected. So I have heightForRowAtIndex checking if the row is selecte...
I am drawing custom UITableViewCells. My cells are opaque and are completely drawn in the drawRect of the cell to help with performance. I want to handle the look of a selected cell myself. If I don't, then the contents of my cell is covered up by the selectedBackgroundView that is added. Is it common or acceptable to override the se...
I am using apple's custom table view cell code and modifying the drawRect code within the cell's view to look like I want it to. I've changed it to have some UILabels as well as a UIProgressView.
If the data the cell is being built on doesn't have a certain field, I want the UIProgressView to be hidden. This works for a little while, ...
Hi,
I have a table with custom cells, that I built in IB. When entering editing mode, content of all cells is moved to show delete edit control. My question is where can I adjust the cell appearance before entering editing mode? I saw that willBeginEditingRowAtIndexPath function is supposed to let adjust the UI, but seems I don't get th...
Hi All,
I want to create a simple table view with one section and two rows - one for username and another for password, similar to Skype login (screenshot here: http://i33.photobucket.com/albums/d74/chaks_2k/IMG_0143.png)
Just two rows, one for username and another for password.
Is there any out of the box cell style i can use for thi...
Hi!
I'm trying to set the label backgroundColor of my UITableViewCells and it does absolutely nothing at all. I wonder if there's another way of doing this, so I'm asking!
I tried this:
cell.textLabel.backgroundColor = [UIColor redColor];
cell.backgroundColor = [UIColor redColor];
And it doesn't work, anything else?
Thanks!
...
Hi, hope to get some help here because this is something that really makes me mad...
I have a view with a tableView, and when I tap a cell I want to present a popOver window pointing the arrow to the cell I tapped.
the things that I think I need is:
1- the position of the cell in the screen (not in the view, because on large tables the...
I'm looking to know both what can be customized as well as the recommended way to customize some of the major UIView subclasses in the iPhone SDK (in particular UIButton, UITableView/Cell ... but really open to any of the views in the SDK).
Any recommended tutorials?
Examples?
Are there bad practices that can actually hinder perfo...
I am very new to this and am trying to learn by creating a few little apps for myself.
I have a navigation-based app where the user taps the row to select a film title - i then want the second view to show details of the film.
Thanks to a very helpful person here i am getting the results of the row pressed as 'rowTitle' as follows :
(...