GithubHelp home page GithubHelp logo

swiftui-template-tca's Introduction

iOS Project Template for SwiftUI

IDE Language Platform Build Status

Project template to jumpstart your next iOS project with integrating best practices and tools.

Motivation

Everytime we create a new project, we do lots of repeated tasks that kills our effective hours. This template will save those hours and help to follow standard project architecture.

Best Practices

  • Composable Architecture TCA/Composable Architecture of iOS app using Combine and SwiftUI
  • R.swift Get strong typed, autocompleted resources like images, fonts and segues in Swift projects
  • Standard gitignore
  • Moya for netwoking layer
  • Swiftlint [SwiftLint SPM Plugin showing build error]
  • Swinject [Swinject SPM Plugin showing build error]
  • Development/Staging/Production app flavours
  • Separate build configuration for each flavour

Todo

  • Database Platform
  • Persistency Platform
  • Base classes for handling deeplink, notifications and multiple scheme

Supporting Tools

Xcode 14.0 or later and Swift 5.5 or later.

Prerequisites:

Install cookiecutter by runing below terminal command.

brew install cookiecutter

Usage

The project template uses Cookiecutter to create your project from it. Run the below command to create your project:

cookiecutter [email protected]:monstar-lab-oss/swiftui-template-tca.git

Enter your desire app name followed by company name. Thats it, you should be able to see your app directory created based on the template.

Build Configurations

The templete used .xcconfig and BuildConfiguration.plist files to maintain different environments(Development/Staging/Production). To know how it is done please follow the link.

Additional configuration

You will have to manually configure the bundle id of the main target and test target.

TCA Template Installation

All the Xcode custom template files are located in ~/Library/Developer/Xcode/Templates/ and grouped into sections by folder name. Create a folder with name Custom Templates manually or by running the following command from the terminal:

mkdir ~/Library/Developer/Xcode/Templates/Custom Templates

Now drag and drop the TCA.xctemplate that included with the repo to the Custom Templates directory. Now the TCA template can be selected from File Templates

Contributing Code

Please refer to Contributing Guidelines before participating.

Acknowledgments

๐Ÿ‘ฅ Credits

Made with โค๏ธ at Monstarlab

swiftui-template-tca's People

Contributors

arman-morshed avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.