vegidio / ios-common

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

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


Languages

Language:Swift 100.0%