aceisscope / waterflowview Goto Github PK
View Code? Open in Web Editor NEWA waterflow display like the Pinterest feeling, supporting UICollectionView
A waterflow display like the Pinterest feeling, supporting UICollectionView
One of the way to solve it is by providing the image width parameter instead of automatically adjust the based on the row and column position
can you add a license to the project, preferably MIT or Apache?
thanks!
Setting the contentMode of the UIImageViews to UIViewContentModeScaleAspectFit did not result in the expected layout. There was a lot of "whitespace" so to speak. Is there a way to use this layout engine with UIViewContentModeScaleAspectFit or UIViewContentModeScaleAspectFill?
If I have 30 images, currently, it will repeat the image again even after passed 30 images. the waterflowView did not just stop.
in cellForRowAtIndexPath in ViewController.m how do you prevent it to created anymore grid?
2013-10-21 17:01:55.790 WaterFlowDisplay[9159:a0b] * Terminating app due to uncaught exception 'NSGenericException', reason: '* Collection <**NSSetM: 0xc185530> was mutated while being enumerated.'
* First throw call stack:
(
0 CoreFoundation 0x029b75e4 __exceptionPreprocess + 180
1 libobjc.A.dylib 0x01cc28b6 objc_exception_throw + 44
2 CoreFoundation 0x02a473b5 __NSFastEnumerationMutationHandler + 165
3 UIKit 0x00e4eefe -[UICollectionView _unhighlightAllItems] + 154
4 UIKit 0x00e4f261 -[UICollectionView touchesBegan:withEvent:] + 448
5 UIKit 0x00866efb -[UIWindow _sendTouchesForEvent:] + 386
6 UIKit 0x00867d34 -[UIWindow sendEvent:] + 1232
7 UIKit 0x0083ba36 -[UIApplication sendEvent:] + 242
8 UIKit 0x00825d9f _UIApplicationHandleEventQueue + 11421
9 CoreFoundation 0x029408af __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 15
10 CoreFoundation 0x0294023b __CFRunLoopDoSources0 + 235
11 CoreFoundation 0x0295d30e __CFRunLoopRun + 910
12 CoreFoundation 0x0295cb33 CFRunLoopRunSpecific + 467
13 CoreFoundation 0x0295c94b CFRunLoopRunInMode + 123
14 GraphicsServices 0x02d8f9d7 GSEventRunModal + 192
15 GraphicsServices 0x02d8f7fe GSEventRun + 104
16 UIKit 0x0082894b UIApplicationMain + 1225
17 WaterFlowDisplay 0x00002e4d main + 141
18 WaterFlowDisplay 0x00002db5 start + 53
)
libc++abi.dylib: terminating with uncaught exception of type NSException
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.