ekohe / ekstreamview Goto Github PK
View Code? Open in Web Editor NEWA scrolling view of a number of columns containing multiple cells with variable different heights for iOS, inspired by Pinterest.
License: MIT License
A scrolling view of a number of columns containing multiple cells with variable different heights for iOS, inspired by Pinterest.
License: MIT License
I get EXC_BAD_ACCESS on condition: numberOfCellsInStreamView < numberOfColumnsInStreamView. This happens when the data to be displayed is still empty (before being loaded).
You can repro this error by modifying the sample code as:
- (NSInteger)numberOfCellsInStreamView:(EKStreamView *)streamView
{
return 5;
}
- (NSInteger)numberOfColumnsInStreamView:(EKStreamView *)streamView
{
return 10;
}
Hi;
Normally, I am using JBAsyncImageView in my project. With EKStream, I couldn't load images asynchronously. How I can do that? Do you suggest any other controls for that?
I’ve recently added EKStreamView
to the CocoaPods package manager repo.
CocoaPods is a tool for managing dependencies for OS X and iOS Xcode projects and provides a central repository for iOS/OS X libraries. This makes adding libraries to a project and updating them extremely easy and it will help users to resolve dependencies of the libraries they use.
However, EKStreamView
doesn't have any version tags. I’ve added the current HEAD as version 0.0.1, but a version tag will make dependency resolution much easier.
Semantic version tags (instead of plain commit hashes/revisions) allow for resolution of cross-dependencies.
In case you didn’t know this yet; you can tag the current HEAD as, for instance, version 1.0.0, like so:
$ git tag -a 1.0.0 -m "Tag release 1.0.0"
$ git push --tags
Hello,
First thanks for the great work on this lib.
Actually the lib is working great 90% of the time, but sometimes i get a crash when popping the view. It's crashing here :
https://github.com/ekohe/EKStreamView/blob/master/EKStreamView.m#L292
The delegate is a zombie object, not nil but dealocated. I tried to fix it by setting the stream view to nil when the controller is popped but nothing work actually.
Note that it's on ios7, so I can't use the viewDidUnload method to free the stream view.
I got the bug when scrolling to bottom and then pressing the back button (with more than 5/6 items, in order to trigger the viewDidScroll delegate).
Let me know if you need more clues about the bug, actually I'm not sure how to fix it.
Thanks !
the pod spec does not specify your lib as arc.
example of how to specify arc for the pod:
https://github.com/CocoaPods/Specs/blob/master/MTZoomWindow/0.5/MTZoomWindow.podspec#L17
Hi there,
I am currently using EKStreamView in a video playing iPhone application. Currently I have all the videos coming through nicely in a 3 column grid view. The next thing I want to be able to do is display promoted videos at the full width of the screen and at a specific height but still keep the grid view for the smaller cells.
Is this something that is currently supported? If not do you have any advice for me in trying to implement this using EKStreamView?
Semantic tags will allow us to more easily maintain the CocoaSpec.
Please provide license information. MIT, BSD or Apache would be great :)
No click action
Hi there, Looks very nice - Tried it out and liked it. But was wondering if StreamView supports sections like UITableView?
Thanks
Hi. I would like to convert this code to non-ARC because I'm trying to put it on my project that is already non-ARC and it will be very difficult to change all my code to ARC at this point.
Also I'm have an issue: every time I re-call [stream reloadData](specially when rotating the device), the App crashes.
Thanks and congrats for the code.
Cassio
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.