mitulmanish / iOSSampleApp

Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS Sample App

License: MIT Platforms Swift Version Twitter

Sample iOS app written the way I write iOS apps because I cannot share the app I currently work on.

Shown concepts

Architecture concepts

Other concepts

  • Localization to 2 languages with safer string usage and checking for missing translations
  • Continuous integration with Github Actions and Danger
  • Unit testing, including testing view controllers for leaks
  • Using (multiple) Storyboards just as glorified XIBs
  • Creating a view controller in code when Storyboard cannot be used
  • Using static UITableView cells in a typed way with enums
  • Image literals
  • Automated AppStore screenshots taking in multiple languages
  • Adding custom reactive properties
  • Basic Dark mode support

Getting started

Prerequisites

Bootstrapping the project

To get started with the project run

sh support/bootstrap.sh` 

to install Carthage, SwifLint, SwiftGen, Fastlane and build all the Carthage dependencies.

If you already have Carthage installed and do not want or need the other tools, just run carthage bootstrap --platform iOS --no-use-binaries --cache-builds in the Sources directory to build all the Carthage dependencies.

This need to be done just once for the initial setup.

Built With

  • RxSwift - Reactive Programming in Swift
  • RxSwiftExt - A collection of Rx operators & tools not found in the core RxSwift distribution
  • Swinject - Dependency injection framework for Swift
  • Reusable - A Swift mixin for reusing views easily and in a type-safe way
  • Nuke - A powerful image loading and caching system
  • RxNuke - RxSwift extensions for Nuke
  • FeedKit - An RSS, Atom and JSON Feed parser written in Swift
  • CRToast - A modern iOS toast view that can fit your notification needs
  • SpecLeaks - Unit Tests Memory Leaks in Swift. Write readable tests for mem leaks easily with these Quick and Nimble extensions
  • Quick - The Swift (and Objective-C) testing framework
  • Nimble - A Matcher Framework for Swift and Objective-C

Author

Igor Kulman - igor@kulman.sk

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding

License:MIT License


Languages

Language:Swift 83.5%Language:Ruby 8.8%Language:HTML 6.9%Language:Shell 0.8%