Thursday 11 April 2019

Custom Gallery View

A customisable  gallery widget
Check source code and demo at Github
https://github.com/Sylvia-YiyinShen/CustomGalleryViewDemo

  • custom cell
  • custom size
  • custom background color




How to use
  • make your own collection view cell conform to GalleryViewCellProtocol
  • make your own cell model conform to GalleryViewCellModelProtocol
  • invoke GalleryView's func configure(models: [GalleryViewCellModelProtocol], customCellNib: UINib, backgroundColor: UIColor = default)

No comments:

Post a Comment