PDA

View Full Version : Problem..I'm not getting any boiler plate code for UICollectionViews and UICVs *help*




iJustinCabral
Aug 17, 2012, 08:10 PM
this is what I'm getting for boiler code now,

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}

- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}




But before I used to get the data source methods...also I noticed that I dont even have the UICollectionView as a reference in the documentation. Any idea whats going on?



Duncan C
Aug 18, 2012, 07:26 AM
this is what I'm getting for boiler code now,

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}

- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}




But before I used to get the data source methods...also I noticed that I dont even have the UICollectionView as a reference in the documentation. Any idea whats going on?

Those things are iOS 6.0 only. Are you using Xcode 4.5, and an iOS 6 target?

iJustinCabral
Aug 18, 2012, 02:58 PM
Yes I'm using the 4.5 Dev Preview Beta 4.

I used to get all the boiler code & be able to see it in my references in the organizer but now UICollectionView doesnt show up in search.