Contains some Xcode file templates and code snippets.
Clone this repository and run the following command from the root of the clone repo.
git clone git@github.com:icapps/ios-xcode-templates.git
cd ios-xcode-templates
make install_templates
make install_snippets
When you want to uninstall the templates run this command:
make uninstall_templates
make uninstall_snippets
At the moment we support the following files Templates:
-
MVVM: Generates the following:
- UIViewController
- ViewModel
-
VIP: Generates a the following components required for the VIP cycle:
- UIViewController
- Interactor
- Presenter
- Models
- Worker
- Router
-
VIP Spec: Generates a the following components required to test the VIP cycle:
- UIViewControllerSpec
- InteractorSpec
- PresenterSpec
- WorkerSpec
These are the code snippets:
shortcut: mark
// MARK: -
shortcut: disable
// swiftlint:disable force_try
shortcut: quickspec
import Quick
import Nimble
@testable import Module
class SomeSpec: QuickSpec {
override func spec() {
}
}
Jelle Vandebeeck, jelle.vandebeeck@icapps.com
The Xcode template license is available under the MIT license. See the LICENSE file for more info.