I am busy with a score overview and I was wondering what is the best way to do it.
My first thought is that is would be an UITableView because of all the functionality it already got.
But because of all the functionality it also has it limitation when you want to change the look.
I was wondering what is a better way:
An custom UITabl...
Hello all, I have an app that has a tab bar, each tab contains a separate table. The first table uses core data to persist its entries and checkmarks. The second table on the second tab uses an NSMutableArray to populate it (I would use core data but I would have to pre populate it and this table does not allow that) I would like to per...
Hey, When i debug my application in Simulator-2.2.1 i get the following errors which i surprisingly don't get while debugging in Simulator-3.1.2 :
in my code for UITableViewController implementation file i am using the method:
-(id)initwithStyleUITableViewCellStyle)style reuseIdentifierNSString *)reuseIdentifier
for which i get t...
Hi,
I'm seeking a tutorial on how to cache images loaded from a url into cells of a uitableview.
I found an example here
http://www.ericd.net/2009/05/iphone-caching-images-in-memory.html#top
But the code is incomplete. I'm an objective c novice so I found it very difficult to fill in the missing pieces.
...
Is it possible to enable user interaction on the contentView while in edit mode?
...
Hi
I have been trying to show an information label for a row when clicking a button inside a UITableViewCell.
But I am unable to get the coordinates of the cell when the table is scrolled.
Can anyone please help?
...
- (void)viewDidLoad {
[super viewDidLoad];
[self.tableView setRowHeight:100];
[self.tableView setSeparatorStyle:UITableViewCellSeparatorStyleNone];
[self.view setBackgroundColor:[UIColor groupTableViewBackgroundColor]];
}
#pragma mark -
#pragma mark Table view data source
// Customize the number of sections in the tabl...
Hi all, I have an app where when the user taps on a cell I would like for a check mark to appear and be persisted. So far this is my code.
-(void)viewDidLoad {
[super viewDidLoad];
NSString *path = [[NSBundle mainBundle] pathForResource:@"AirportList" ofType:@"plist"];
NSMutableArray *airArray = [[NSMutableArray alloc] initWithContent...
I am new to iPhone development. I am displaying in a group tableview contents parsed from XML.I want to disable the click event on it (I should not be able to click it at all.) The table contains two groups. I want to disable selection for the first group only but not the second group. Clicking the first row of second group navigates to ...
Hi,
I've tried numerous ways of setting the background image of an unselected table cell, but without success:
1- In IB setting the image field
2- cell.contentView.backgroundColor = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"list.png"]];
3- cell.imageView.image = [UIImage imageNamed:@"list_selected.png"];
All seem t...
Hi Friends,
I need to create a tableView with customized UITableViewCell that has three small buttons in their view. Is there any way by which I can trap the click events of Buttons
as well as didSelectRow of TableView and decide what to do?
Please help me.
...
I am currently trying to implement a grid view in the iPhone SDK, whereby in portrait mode there are 2 items wide and in landscape mode there are 3. I am implementing this using a UITableView as suggested here.
What is the best way to change the number of rows and the view of the UITableViewCell with device rotation?
If anyone knows a ...
I am trying to create a transparent table with an alpha value. In my main loop, I create a background image, add it to the main window, then create a UITableView with a backgroundColor that is transparent and add it to the main window. For some reason the tableView background color is getting set twice on cells with entries. (i.e. a cell...
I have a simple application that uses a few non-standard UITableViewCellStyles (like UITableViewCellStyleValue1, UITableViewCellStyleValue2 or UITableViewCellStyleSubtitle).
When I run the app in the Simulator all works just fine; but when I run the app on the Device, the UILabel's don't necessarily vertically line up in the middle of t...
I have got custom TableViewCell-s where I assign several UIImageView-s and UILabel-s to the cell's contentview, like this:
[cell.contentView addSubview:iconFileView];
[iconFileView release];
[cell.contentView addSubview:areaLabel];
[areaLabel release];
[cell.contentView addSubview:placeLabel];
[placeLabel release];
As I understand the...
iPhone SDK question: Does anyone have suggestions on how to purge a cached UITableViewCell
I'd like to cache these cells with reuseIdentifier. However, there are times when I need to delete or modify some of the table rows. I expect to call reloadData after the row changes.
Right now, dequeueReusableCellWithIdentifier always returns th...
Does anyone have the same problem as I do? ... I've upgraded to the iPhone SDK 3.2 and I am unable to resize UITableViewCell object in my XIB file (usually I've been just resizing the view but now the cell has the same size and there is just a grey are around) ... btw, I've tried to reinstall twice including one deep reinstall.
...
Hi
I was wondering how to create a UITableView with editable components.
If you look at the network settings in the iphone, where you can enter the static ip address, etc.
How to do this ?
Thanks
...
I am using a slightly larger backgroundView image for the last row of my table. When the last cell is displayed, the imageView, textLabel, and accessoryView are all maintaining the same margin from the bottom of the cell, rather than maintaining their position in the center of the cell like they do on the other rows of smaller height. T...
What would cause this?
I have a grouped tableView that I've added in IB. 2 groups. 3 rows in each group.
It displays fine when my app is first run. (So I know I'm doing SOMETHING right. Wouldn't that mean that I (at least) have my Delegate, DataSource, IBOutlets, and connections set up correctly?)
But when I click on a button that...