Skip to content

An enterprise iOS template application showcasing - Testing strategy, MVVM-C architecture, a network layer, handling secrets, localisation, navigation configuration and CI

Notifications You must be signed in to change notification settings

wednesday-solutions/ios-template

Repository files navigation

iOS Template

An enterprise iOS template application showcasing - App architecture pattern(MVVM-Coordinator-RxSwift), Testing stratergies, CI/CD pipeline using GitAction and fastlane, Localization, Code generation, Linting, Networking

Requirements

Getting started

  • Clone Repo
  • Checkout develop brach
  • Install pods using pod install

MVVM-Coordinator-RxSwift Architecture

Resources

This architecture is combination of best practices, which help to write code that is easier to read, reactive, testable and scalable.

Code Tools

Sourcery is auto code genration tool that is used for storing the keys used in the application securely by generating them at build time. You'll have to manually add a shell script named secrets-vars.sh with below content, Make sure the file is in the root folder of the project along side xcworkspace. secrets you can find the script named Generate SecretConfig.swift in Build Phases of the main app target. Once built successfully you can find SecretConfig.generated.swift file generated under Helpers folder. If not shown open the folder in finder window it will be there, just drag and drop it under Helpers folder. This files will contain the secrets for usage in app. secrets-vars.sh and SecretConfig.generated.swift are both added to .gitignore.