GithubHelp home page GithubHelp logo

ekohe / ekstreamview Goto Github PK

View Code? Open in Web Editor NEW
297.0 297.0 39.0 1.39 MB

A scrolling view of a number of columns containing multiple cells with variable different heights for iOS, inspired by Pinterest.

License: MIT License

Objective-C 100.00%

ekstreamview's People

Contributors

ikeisuke avatar xenofex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ekstreamview's Issues

EXC_BAD_ACCESS when numberOfCellsInStreamView < numberOfColumnsInStreamView

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;
}

How we can load images asynchronously?

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?

Please add semantic version tags.

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

EXC_BAD_ACCESS in layoutCellWithCellInfo

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 !

Support for multiple header size rows

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?

add 1.0.1 tag

Semantic tags will allow us to more easily maintain the CocoaSpec.

License?

Please provide license information. MIT, BSD or Apache would be great :)

Support for Sections?

Hi there, Looks very nice - Tried it out and liked it. But was wondering if StreamView supports sections like UITableView?

Thanks

non ARC project

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.