Too many times a client has asked to add a sliding image gallery to an iOS app, so I wrapped it up in a little component. You can download it from GitHub.
Introducing an image slider gallery for Swift
I took some time to write this component, so it is easy to manage image slider galleries. First I looked around on the web, but there was nothing that really fitted my needs, so the best thing to do in such a case is write it yourself :-).
- Horizontal scrolling
- Vertical scrolling
- Page control to indicate how many photos are in the list
- Works in both orientations (landscape, portrait)
- Cell reuse (works on UICollectionVIew)
You can download the project on GitHub. If you have any questions, just ask it on Twitter, put a comment below or open an issue on GitHub.
The component is also available via CocoaPods.