WinguGallery
View that provides scrollable galleries with zooming. It can be embedded in any other view and in UIViewController
. Internally it uses UICollectionView
to display images.
Features
Basic implementation of a gallery is not listed here. See the screenshots to have basic idea of gallery view.
✅ Zooming✅ GIFs Support✅ Local images support✅ Async download images to cell⚠️ Vertical scrolling⚠️ Spacing between images while swiping⚠️ Loader⚠️ Download better resolution while zooming callback
📸
Screenshots
Example
You can clone project and run example demo. It will compile on simulator without any dependency or changes.
Installation
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
To integrate WinguGallery into your Xcode project using Carthage, specify it in your Cartfile:
github "wingu-GmbH/WinguGallery"
Run carthage update to build the framework and drag the built WinguGallery.framework into your Xcode project.
Cocoapods
WinguGallery is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'WinguGallery'
Author
Jakub Mazur, @jkmazur
Thanks!
To Unsplash for providing photos for this example and to photographers for sharing them! @sylwiabartyzel, @lechonkirb, @karlmagnuson, @ludovic_photo, @derekrliang, @thetoleikis, @iwillbm, @Nate_Dumlao!
And Picsum Photos
Gif support is possible thanks to SwiftGif
wingu
This is a wingu open source project. With wingu platform, API and SDK it is easier then ever to use proximity technologies in new and exciting ways, such as creating a simple app or adding proximity functionality to your existing application. For more information check out: https://www.wingu.de/en/developer/ or start a free trail at https://wingu-portal.de/register.
License
WinguGallery is available under the MIT license. See the LICENSE file for more info.