BVCurationsUICollectionView Class Reference

Inherits from UICollectionView
Declared in BVCurationsUICollectionView.h

  curationsDelegate

@property (nonatomic, weak, nullable) id<BVCurationsUICollectionViewDelegate> curationsDelegate

  groups

The groups to be included in the carousel Default is no groups, so no content

@property (nonatomic, strong, nonnull) NSArray<NSString*> *groups

Declared In

BVCurationsUICollectionView.h

  productId

Used to only show content that includes a particular product by ID Default is not to filter by product

@property (nonatomic, strong, nonnull) NSString *productId

Declared In

BVCurationsUICollectionView.h

  feedItems

@property (nonatomic, strong, readonly, nonnull) NSArray<BVCurationsFeedItem*> *feedItems

Declared In

BVCurationsUICollectionView.h

  fetchSize

Amount of items to request per infinite scroll batch Default is 10

@property (nonatomic, assign) NSUInteger fetchSize

Declared In

BVCurationsUICollectionView.h

  infiniteScrollEnabled

Should more items load automatically as scrolled Default is YES

@property (nonatomic, assign) BOOL infiniteScrollEnabled

Declared In

BVCurationsUICollectionView.h

  bvCurationsUILayout

Defines the layout of content Defaults to BVCurationsUILayoutGrid

@property (nonatomic, assign) BVCurationsUILayout bvCurationsUILayout

Declared In

BVCurationsUICollectionView.h

  itemsPerRow

Number of content items in each row when bvCurationsUILayout == BVCurationsUILayoutGrid Defaults to 2

@property (nonatomic, assign) NSUInteger itemsPerRow

Declared In

BVCurationsUICollectionView.h

– loadFeed

Begins loading content Should be called only once after setting the properties the first time

- (void)loadFeed

Declared In

BVCurationsUICollectionView.h