1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

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

Discussion in 'iPhone/iPad Programming' started by iJustinCabral, Aug 17, 2012.

  1. iJustinCabral, Aug 17, 2012
    Last edited by a moderator: Aug 17, 2012

    macrumors member


    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?
  2. macrumors 6502a

    Duncan C

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


    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.

Share This Page