Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-01-2009, 04:36 PM   #1 (permalink)
gunther
Registered Member
 
Join Date: Jun 2009
Posts: 253
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
 

» Advertisements
» Stats
Members: 158,660
Threads: 89,153
Posts: 380,373
Top Poster: BrianSlick (7,110)
Welcome to our newest member, tieutinhcam
Powered by vBadvanced CMPS v3.1.0

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