Declaratively UI constructed popular Instagram Scrolling Photos with some improvements for iOS, written in Swift.
👨🏻💻 Feel free to subscribe to channel SwiftUI dev in telegram.
This tutorial demonstrates two ways of showing stories:
- simple:
- customized (with labels and buttons on each slide):
Based on Blueprint and OpenCombine with MVVM architecture.
- You can add labels and tappable buttons to each slide
- Supports all orientations on iPhone and iPad
- Long press pause and play
- Left tap and Right-tap gestures to switch between slides
- Closing story by swiping down
- If there is no user interruption, it will automatically move to the next slide
- It will automatically close story after the progress bar completes
- Progress bar is very smooth
- iOS 11 or later
If you like this repository, please do ⭐ to make this useful for others. Feel free to contribute by open an Issue or create a Pull Request
All the code here is under MIT license. Which means you could do virtually anything with the code. I will appreciate it very much if you keep an attribution where appropriate.
This app uses Blueprint by Square team and OpenCombine by OpenCombine team.
Thx to Jean-Marc Boullianne for inspriration with his SwiftUI tutorial of stories.