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 09-12-2008, 11:26 PM   #3 (permalink)
skinrock
Registered Member
 
Join Date: Aug 2008
Posts: 177
Default

I thought I was on the right path, but no luck so far...here's what I tried:

Create another UIView set: UIViewController class, UIView class and a xib file, set the propreties in the xib to the respective classes.

In the initWithFrame method for the UITableViewCell class that was created previously, add this:

Code:
CGRect tzvFrame = CGRectMake(0.0, 0.0, self.contentView.bounds.size.width, self.contentView.bounds.size.height);
ListViewCellController *listViewCellController = [[ListViewCellController alloc] initWithNibName:@"ListViewCellView" bundle:nil];
listViewCellView =[listViewCellController.listViewCellView initWithFrame:tzvFrame];
listViewCellView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
[self.contentView addSubview:listViewCellView];
I thought that might work, but no luck. What's odd is that I get no errors, just a blank cell.
skinrock is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,721
Threads: 89,177
Posts: 380,492
Top Poster: BrianSlick (7,122)
Welcome to our newest member, ItalianFoods
Powered by vBadvanced CMPS v3.1.0

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