magiclab-team / pinterestlayout Goto Github PK
View Code? Open in Web Editor NEWCustom collection view layout inspired by Pinterest layout. Written in Swift.
License: MIT License
Custom collection view layout inspired by Pinterest layout. Written in Swift.
License: MIT License
Hello,
I noticed that function
override func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { }
Is not called when using CustomCollectionVC from example, it works fine for MyPinterestVC.
https://github.com/karek314/PinterestLayout/commit/4e2994664103319d8c4503e567b0152d13b71a9b
https://github.com/karek314/PinterestLayout/commit/66c73eb8f9564512789c0333095a64d57139a9c3
Cheers
Hi, I just tried this library in one of my project and I found some issue with the delegate variable. This variable is declared as strong variable means that if I will write:
layout.delegate = self
I am actually holding a strong reference to my view controller. This delegate needs to be changed to weak so the view controller can be released.
Thanks,
Ran
How to create dynamic height headers with autolayout ?
thanks.
Help me for getting index value of cell? didSelectItem is not be there in entire code please help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.