Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-01-2009, 03:36 PM   #1 (permalink)
gunther
Registered Member
 
Join Date: Jun 2009
Posts: 196
Default deprecated cell.font, cell.image.. etc.. how do it?

hi, i have in my app warnings when set information at the cell object whit font, images, etc.. this works but in my xcode i see severals lines yellow!! can tell me how do is the correct way for write this functions in os 3.0?

Code:
if (cell == nil) {
        cell = [[[UITableViewCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
		cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
		here!!! cell.font = [UIFont boldSystemFontOfSize:12.0];
    }
    
    // Set up the cell...
	UIImage *image = [UIImage imageNamed:@"iconPages.png"];
	here!!! cell.image = image;
	here!!! cell.text = [arrayfav objectAtIndex:indexPath.row];
gunther is offline   Reply With Quote
 
Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,333
Threads: 39,129
Posts: 171,562
Top Poster: smasher (2,577)
Welcome to our newest member, SteveMc
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 12:29 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.