Skip to content

Latest commit

 

History

History
12 lines (6 loc) · 581 Bytes

README.md

File metadata and controls

12 lines (6 loc) · 581 Bytes

Welcome to the SelfSizedCollectionView! (Intrinsic Content Size UICollectionView)

A lot of us face many situations that needs the collection view Size to be the same size as it's content . so we need an elegant way to achieve that:

Implementation Guide: -

1- add SelfSizedCollectionView file to you project .

2- set your collectionView type to SelfSizedCollectionView in the StoryBoard or the XIB file .

3- set a height Constraints for UICollectionView in the StoryBoard and set its Priority with a value less than 250