Skip to content

icapps/ios-xcode-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xcode Templates

Contains some Xcode file templates and code snippets.

Installation

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

Available templates

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

Available code snippets

These are the code snippets:

MARK

shortcut: mark

// MARK: - 

Swiftlint

shortcut: disable

// swiftlint:disable force_try

Quick Spec

shortcut: quickspec

import Quick
import Nimble

@testable import Module

class SomeSpec: QuickSpec {
    
    override func spec() {
    }

}

Author

Jelle Vandebeeck, jelle.vandebeeck@icapps.com

License

The Xcode template license is available under the MIT license. See the LICENSE file for more info.

About

The Xcode templates we tend to use at iCapps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors