Instagram Story - Using Blueprint & OpenCombine
Declaratively UI constructed popular Instagram Scrolling Photos with some improvements for iOS, written in Swift.
About
This tutorial demonstrates two ways of showing stories:
- simple:
- customized (with labels and buttons on each slide):
Architecture
Based on Blueprint and OpenCombine with MVVM architecture.
Features
- 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
Requirements
- iOS 11 or later
Contributing
If you like this repository, please do
License
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.
Special thanks
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.