Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/c-villain/storiestutorual

Blueprint & OpenCombine recreation of the Instagram Stories with features.
https://github.com/c-villain/storiestutorual

blueprint declarative-programming declarative-ui instagram instagram-stories instagram-story ios ipados mvvm opencombine

Last synced: 2 months ago
JSON representation

Blueprint & OpenCombine recreation of the Instagram Stories with features.

Awesome Lists containing this project

README

        

# Instagram Story - Using Blueprint & OpenCombine




[![contact: @lexkraev](https://img.shields.io/badge/contact-%40lexkraev-blue.svg?style=flat)](https://t.me/lexkraev)
[![Telegram Group](https://img.shields.io/endpoint?color=neon&style=flat-square&url=https%3A%2F%2Ftg.sumanjay.workers.dev%2Fswiftui_dev)](https://telegram.dog/swiftui_dev)

**Declaratively UI** constructed popular Instagram Scrolling Photos with some improvements for iOS, written in Swift.

👨🏻‍💻 Feel free to subscribe to channel **[SwiftUI dev](https://t.me/swiftui_dev)** in telegram.

## About
This tutorial demonstrates **two ways** of showing stories:

- **_simple_**:


Example without labels

- **_customized_ (with labels and buttons on each slide)**:


Example with labels

## Architecture

Based on [Blueprint](https://github.com/square/Blueprint) and [OpenCombine](https://github.com/OpenCombine/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 :star: to make this useful for others. Feel free to contribute by [open an Issue](https://github.com/c-villain/StoriesTutorual/issues/new/choose) or [create a Pull Request](https://github.com/c-villain/StoriesTutorual/compare)

## 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](https://github.com/square/Blueprint) by [Square team](https://github.com/square) and [OpenCombine](https://github.com/OpenCombine/OpenCombine) by [OpenCombine team](https://github.com/OpenCombine).

Thx to [Jean-Marc Boullianne](https://github.com/jboullianne) for inspriration with his [SwiftUI tutorial of stories](https://github.com/jboullianne/InstagramStoryTutorial-SwiftUI).