SwiftUI Combine MVVM Demo App

January 28, 2022 ยท View on GitHub

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Dependencies

Third party frameworks and libraries are managed using Cocoapods.

Pods used

  • Firebase: Firebase is used in this project for authentication and representing data from firebase.

How to setup project?

  1. Clone this repository into a location of your choosing, like your projects folder

  2. Open terminal - > Navigate to the directory containing Podfile

  3. Then install pods into your project by typing in terminal: pod install

  4. Once completed, there will be a message that says "Pod installation complete! There are X dependencies from the Podfile and X total pods installed."

  5. Voila! You are all set now. Open the .xcworkspace file from now on and hit Xcode's 'run' button. ๐Ÿš€

How to use?

There is MVVMSwiftUICombineDemo named scheme available to run the project.

Architecture

The project uses MVVM architecture along with SwiftUI and Combine Framework pattern