Skip to content

Xcode templates for VIPER Architecture in Swift using Swinject as DI framework

Notifications You must be signed in to change notification settings

Nikita2k/SwiftViper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

SwiftViper

Xcode templates for VIPER Architecture in Swift using Swinject as DI framework

What is it?

This repo stores XCode templates, that allows you to create VIPER module in Swift. You can use this template without using and DI frameworks, but I highly recommend you to start using Swinject for dependecy injection.

How to use?

If you are using XCode7 just go to Application folder, browse to the Xcode application icon. Right-click it and choose 'Show Package Contents'. Then browse to: Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/Application/ and add Viper Module Swift.xctemplate there. That's it. Now you can find your template in XCode -> New File -> iOS -> Source

Add the following line to your project Podfile (we need to specify a commit, as container hierarchy is not released yet)

pod 'Swinject', :git => 'https://github.com/Swinject/Swinject.git', :commit => '48a8504'

References

Viper:

Swinject:

About

Xcode templates for VIPER Architecture in Swift using Swinject as DI framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published