ecerney / collectionviewwaterfalllayout Goto Github PK
View Code? Open in Web Editor NEWPinterest inspired layout for UICollectionViews
License: MIT License
Pinterest inspired layout for UICollectionViews
License: MIT License
@ecerney
Looking to add subview within cell. How to customize the cells?
I'm looking for a way to customize / or even use an external xib file for this but still enable the dynamic cell width and height. But how should I be adding subviews into the layout? Thanks!
The collectionView property of UICollectionViewLayout is now optional, which leads to errors compiling CollectionViewWaterfallLayout.
While you delete cells using this layout the collection view does not update it's content size.
Crashing on deleting cells if you use cache if statement.
Updates for XCode 7.3?
No decoration View means we cannot add any other subviews in the cell apart from the imageView..?
And please try to write comments in the class so that one trying to understand your code can do so!!
I'm getting the following errors when using cocoapods following your demo:
Use of unresolved identifier 'CollectionViewWatefallElelementKindSectionHeader'
Use of unresolved identifier 'CollectionViewWatefallElelementKindSectionFooter'
Any reason why this may be?
Would it be possible for you to make a quick demo app with the coacopod ?
Is this updated to work with latest xcode and swift? i'm getting errors for overriding instance method optional result type
Is there a good implementation of using this with Alamofire async requests for infinite scrolling? Thanks!
Is there a way to achieve this? It seems the library wants to hardcode the size of the cells in the delegate :/
I had to import CollectionViewWaterfallLayout
to stop xcode from throwing error Use of undeclared type 'CollectionViewWaterfallLayout'
. Should that be added to the instructions on the readme file?
Will there be a swift 3 version of this?
Let's say I would like to be able to switch between a gridlayout like this and a listlayout? (1 item per row) What would be the preferred way to do it?
When i update xcode to 7.0 ,this will throw many erros. I wish you to update 'CollectionViewWaterfallLayout', thank you very much.
I am having a hard time getting this work without StoryBoard, Am I missing something ?
Bests
Method 'collectionView(:layout:sizeForItemAt:)' with Objective-C selector 'collectionView:layout:sizeForItemAtIndexPath:' conflicts with method 'collectionView(:layout:sizeForItemAtIndexPath:)' with the same Objective-C selector
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.