Giter Club home page Giter Club logo

basic-ios-template's Introduction

basic-ios-template

SwiftPM 5.6 @maximkrouk

Getting started

  1. Fork the repo as a template.

  2. Create a local folder for your app and navigate to it

mkdir <YourAppName>
cd <YourAppName>
  1. Clone the template, rename cloned folder to App and navigate to it
git clone https://github.com/<your-profile>/<your-app-name>-ios.git
mv <your-app-name>-ios App
cd App

You can choose any name or avoid nesting, but we recommend to follow the example (including the case) to get the best result ๐Ÿ˜Œ

  1. Rename project.yml, .config/project.yml and .config/preview.yml contents accordingly to your needs
  • bundleIdPrefix: org-domain.org-host to your bundleID prefix
  • targets: MyTarget to <your-app-name>-ios
  • info.properties.CFBundleDisplayName: MyApp to <YourAppName>
  1. Bootstrap the environment
make bootstrap

See Makefile for details

Than you can commit changes and you are ready for the actual development ๐Ÿ˜Ž

open Package.xcworkspace

Structure

See Extensions and Dependencies for more details for these modules

Main work is happenning in the root package.

  • <#Module#>Feature naming is used for modules user directly interact with
  • <#Service#> naming modules is used for modules that are used by developers to build feature modules

Basically your Sources folder structure will look kinda like this

Sources { // Main modules
  AppFeature // Entry point for the app, contains AppDelegate, RootViewController, AppState etc., coordinates app flows
  MainFeature // Main app flow, non-main flows may be Onboarding/Admin/Auth for example.
  <#SomeFeature#>Feature // Any other feature
  AppUI // App-specific UI components
  APIClient // Service module example
  Resources // Contains resources and generated boilerplate
}

Note:

Scripts can be improved later so we advice you to keep an eye on the repo and a tracking reference to our main branch to keep your infrastructure up to date ๐Ÿš€

Recommended dependencies

Will be recommended later (yet in alpha or beta)

basic-ios-template's People

Contributors

maximkrouk 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.