Skip to content

olbartek/VIPER-Swift-Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

VIPER-Swift-Templates

Xcode templates for VIPER architecture (Swift language).

How to use a template?

  • Download templates from repository
  • Copy the Architecture folder to /Users/<user>/Library/Developer/Xcode/Templates/File\ Templates
  • Start Xcode and create a new file (File > New > File or ⌘N)
  • Search for Architecture section and choose between available templates

Available Templates

  • VIPER (TabBar module)

    • Application Logic
      • Interactor
        • <module_name>Interactor.swift
        • <module_name>InteractorIO.swift
      • Service
        • <module_name>Service.swift
        • <module_name>ServiceType.swift
    • Module Interface
      • <module_name>ModuleInterface.swift
    • User Interface
      • Presenter
        • <module_name>Presenter.swift
      • View
        • <module_name>ViewController.swift
        • <module_name>ViewInterface.swift
      • Wireframe
        • <module_name>Wireframe.swift
  • VIPER (TabBar module + model)

    • Application Logic
      • Interactor
        • <module_name>Interactor.swift
        • <module_name>InteractorIO.swift
      • Model
        • <module_name>.swift
      • Service
        • <module_name>Service.swift
        • <module_name>ServiceType.swift
    • Module Interface
      • <module_name>ModuleInterface.swift
    • User Interface
      • Presenter
        • <module_name>Presenter.swift
        • Display<module_name>.swift
      • View
        • <module_name>ViewController.swift
        • <module_name>ViewInterface.swift
      • Wireframe
        • <module_name>Wireframe.swift

References

About

Xcode templates for VIPER architecture.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published