I am trying to use this as a starting point to learn about collection view: Creating a UICollectionView programmatically
I have a viewDidLoad which has a UIScrollView created like so:
UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0.0, 64.0,
screenWidth, screenHeight)];
How do I add in the UICollectionViewController as the following below doesn't work:
ACollectionViewControllerr *vc = [[ACollectionViewController alloc] init];
[self.view addSubview:vc];
Do you need a UIScrollView to scroll down or does uicollectionview have that functionality already?