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.
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! 🍻🍻