Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
romansorochak authored Jul 7, 2017
1 parent 09df2d3 commit 7de658c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,14 @@ override func apply(_ layoutAttributes: UICollectionViewLayoutAttributes) {

## Tips

- PinterestLayout fully supports collection view headers and footers. So you can have may sections.
- In case you load data asynchronously please follow next steps:
### Headers/Footers

PinterestLayout fully supports collection view headers and footers. So you can have many sections.

### When you load data from service

In case you load data asynchronously please follow next steps:

1. Do not use PinterestVC as parent class to your view controller. Use [custom cell approach](#using-custom-cell).
2. Make sure server returns image sorce with its sizes (height and width)
```json
Expand Down

0 comments on commit 7de658c

Please sign in to comment.