Swift-VIPER-Module alternatives and similar libraries
Based on the "Other Xcode" category.
Alternatively, view Swift-VIPER-Module alternatives based on common mentions on social networks and blogs.
-
Synx
A command-line tool that reorganizes your Xcode project folder to match your Xcode groups -
SBShortcutMenuSimulator
3D Touch shortcuts in the Simulator -
Xcode Developer Disk Images
Quick fix your Xcode with the missing developer disk images. iOS, tvOS, watchOS files available. -
awesome-xcode-scripts
A curated list of useful xcode scripts 📝 . -
ViperC
Xcode template for VIPER Architecture for both Objective-C and Swift. -
swift-project-template
🍪 Easily generate Swift projects with Cookiecutter -
Sample Project
A starter project for Sample Project in Objective C. Objective C version of https://github.com/xeieshan/SwiftySampleProject -
awesome-gitignore-templates
A curated collection of useful gitignore templates for different programming languages while pushing your code to git. 😊 📝 -
VIPER Module Template
Template of VIPER Module for Xcode -
dsnip
Tool to generate (native) Xcode code snippets from all protocols/delegate methods of UIKit (UITableView, ...) -
Xcode Template Manager
Xcode Template Manager is a Swift command line tool that helps you manage your Xcode project templates. -
Microfeatures
Architectural approach to structure your Xcode projects. -
Xcode Keymap for Visual Studio Code
This extension ports popular Xcode keyboard shortcuts to Visual Studio Code.
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Swift-VIPER-Module or a related project?
README
:warning: Deprecated :warning:
This library is deprecated.
[](assets/header.jpg)
When you decide to use VIPER architecture in your project, it is very tired create new modules, because you need create at least 5 files for each. Imagine that you need to create 6 modules...I was suffering this problem, and this is the raison why I've created this template. It's very useful for me and I hope that for you too.
How to install
Using script (easy)
Only need execute this command in terminal:
sudo swift install.swift
You should be this output message:
[](assets/terminal.png)
If all it's ok you now could find your template in Xcode.
Manual
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/iOS/Application
and add "Module VIPER.xctemplate" file. Now you can find your template in Xcode.
Easy to use
Generated code
This template generates all files that you need to create a new VIPER module. All generated code is Swift 3.
This is an example, we're creating a Login module:
VIPER diagram overview
Why VIPER?
After using VIPER, I've found it to be very beneficial in many ways. Let’s get back to the list of things we set out to accomplish when architecting our app to see if VIPER addresses them.
- Easy to iterate on
- Collaboration friendly
- Separated out concerns
- Spec-ability
Next steps
Would you like decide what will be the next feature? now, you can do it here
- [x] Create bash script to install more easy
- [x] Divide Interactor protocol (Input & Output) (NEW! Version 1.1)
- [x] Swift 4 & XCode 9 (NEW! Version 1.2)
- [ ] Add Dependency Injection Framework
- [ ] Customize name of components
- [ ]
Create groups in template(Only available for Project templates)
References
- iOS Architecture Patterns
- #8 VIPER to be or not to be?
- https://www.objc.io/issues/13-architecture/viper/
- https://www.ckl.io/blog/ios-project-architecture-using-viper/
Contributed
This is an open source project, so feel free to contribute. How?
- Open an issue.
- Send feedback via [email](mailto://juanpecatalan.com).
- Propose your own fixes, suggestions and open a pull request with the changes.
Author
- Juanpe Catalán 🐦