Skip to content

Swift script to easily create a iOS project base code! used by xmartlabs.com team.

License

Notifications You must be signed in to change notification settings

BracketFactory/Swift-Project-Template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift-Project-Template

Build Status

Create your iOS Base project in just a few seconds by executing a script and answering some project questions. This is what we use to get started with a new iOS project from scratch!

Swift Project Template provides us with a base iOS project template along with and a swift script to make naming customizations on it.

iOS project has the following configuration:

  • Targets

    • Test: Unit tests working with Quick and Nimble.
    • UITest: Functional tests working with Nimble matcher.
    • App Production Target.
    • App Staging Target. Same app source code with a different bundle id, it points to a different Restful API (staging one).
  • Project Configuration

    • R-Swift integration.
    • Warnings for TODO and FIXME comments.
    • Swift Lint integration.
    • Crashlytics integration.
    • travis.yml file.
    • podfile containing most used libraries by us.
      • Realm, Decodable, Alamofire, RxSwift, Eureka, Opera and many others.
  • Networking

    • Alamofire networking library.
    • Opera network abstraction layer integrated along with some examples.
Usage

Clone the repository:

git clone [email protected]:xmartlabs/Swift-Project-Template.git

Run shell.swift script from there:

swift -target x86_64-apple-macosx10.11 Swift-Project-Template/shell.swift

Answer some questions:

We are done! Now start coding your app! 🍻🍻

About

Swift script to easily create a iOS project base code! used by xmartlabs.com team.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 95.8%
  • Ruby 4.2%