MJParallaxCollectionView icon indicating copy to clipboard operation
MJParallaxCollectionView copied to clipboard

How do I recreate this programmatically, without the storyboard?

Open remotewhiteboard opened this issue 9 years ago • 0 comments

I can't seem to get it working.

I tried this:

UICollectionViewFlowLayout *layout=[[UICollectionViewFlowLayout alloc] init];


    parallaxCollectionView=[[UICollectionView alloc] initWithFrame:r collectionViewLayout:layout];
    parallaxCollectionView.delegate=self;
    parallaxCollectionView.dataSource=self;
    [parallaxCollectionView registerClass:[MJCollectionViewCell class] forCellWithReuseIdentifier:@"MJCell"];

    [self.view addSubview:parallaxCollectionView];

remotewhiteboard avatar Sep 13 '16 06:09 remotewhiteboard