Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support initializing with image URLs #17

Open
ZevEisenberg opened this issue Jan 3, 2017 · 1 comment
Open

Support initializing with image URLs #17

ZevEisenberg opened this issue Jan 3, 2017 · 1 comment

Comments

@ZevEisenberg
Copy link
Contributor

In some cases, you might have URLs for images (and possibly thumbnails), and it would make sense for RIGImageGallery to manage loading those images internally. If we don't want to own the actual URL requests, we could expose a block or delegate method so that the consumer provides some synchronous image loading code that RIGImageGallery calls asynchronously on their behalf. Coupled with this, RIGImageGallery should support a default per-page loading spinner and a customization point to provide a loading view, which optionally can show percentage progress instead of just "loading".

@ateliercw
Copy link
Contributor

+1 for needing to find a good way to inject a loading indicator view / progress tracker view

I don't want to provide any sort of actual URL loading in the library, because there are better solutions out there (AlamoFireImage, SDWebImage), but writing sub-specs that integrate directly with those libraries and handle progress reporting / loading URLS seems like a good addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants