/ios-common

Classes and libraries commonly used by me in my iOS projects.

Primary LanguageSwift

iOS Common

In this project I keep the list of most libraries and helper classes that I commonly use during the development of my iOS apps. I will try to keep this project updated constantly as I find better libraries to do the tasks or when I improve code in one of my classes.

🏛️ Architecture

This project uses of the MVVM pattern and makes de binding between the Views and the ViewModels through reactive programming, with Apple Combine.

⚙️ Dependencies

I used a set of well-known Android libraries so we don't have to reinvent the wheel 🙃

  • Alamofire: to make HTTP requests and process the responses.

🛠️ Build

Before building the project you must use code generator to update the Swift code with the GraphQL schema:

  1. Download the CLI tool and move it to usr/local/bin.
  2. Run this command in the project root folder:
$ apollo-ios-cli generate

🎨 Code Correctness

This project uses SwiftFormat to keep the code formatted and SwiftLint to follow best practices. The linting is done automatically on every build, but in order to format the code run the command below in the project's root dir:

$ swiftformat .

👨🏾‍💻 Author

Vinicius Egidio (vinicius.io)