All Projects → Juanpe → Swift Viper Module

Juanpe / Swift Viper Module

Xcode template for VIPER Architecture written in Swift 4

Programming Languages

swift
15916 projects
swift4
162 projects

Projects that are alternatives of or similar to Swift Viper Module

The Book Of Viper
the one and the only
Stars: ✭ 851 (+61.48%)
Mutual labels:  viper, architecture
Vipera
Project is now called Swift template, check the link ➡️
Stars: ✭ 57 (-89.18%)
Mutual labels:  viper, architecture
Ios Architecture
A collection of iOS architectures - MVC, MVVM, MVVM+RxSwift, VIPER, RIBs and many others
Stars: ✭ 901 (+70.97%)
Mutual labels:  viper, architecture
Ribs
Uber's cross-platform mobile architecture framework.
Stars: ✭ 6,641 (+1160.15%)
Mutual labels:  viper, architecture
Ios Design Patterns
Learning ground for iOS Design Pattern included with sample projects for MVC, MVP, MVVM, and VIPER
Stars: ✭ 120 (-77.23%)
Mutual labels:  viper, architecture
Swift Design Patterns
🚀 The ultimate collection of various Software Design Patterns implemented in Swift [Swift 5.0, 28 Patterns].
Stars: ✭ 85 (-83.87%)
Mutual labels:  viper, architecture
Rx.observe
Transform any method to an Rx Observable ! (VIPER)
Stars: ✭ 34 (-93.55%)
Mutual labels:  viper, architecture
Articles Ios Viper
Demo app for VIPER design pattern implementation
Stars: ✭ 254 (-51.8%)
Mutual labels:  viper, architecture
Rxviper
Android micro framework for developing apps based on clean VIPER architecture.
Stars: ✭ 112 (-78.75%)
Mutual labels:  viper, architecture
Ios Architectures
Sample app for iOS architectures
Stars: ✭ 90 (-82.92%)
Mutual labels:  viper, architecture
Zikviper
iOS VIPER implementation, demonstrating discovering modules and injecting dependencies with protocol. Provide VIPER code Templates.
Stars: ✭ 238 (-54.84%)
Mutual labels:  viper, architecture
Flawless Ios
Awesome iOS guides from the community, shared on Flawless iOS Medium blog 👉
Stars: ✭ 260 (-50.66%)
Mutual labels:  viper, architecture
Koanf
Light weight, extensible configuration management library for Go. Built in support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Stars: ✭ 450 (-14.61%)
Mutual labels:  viper
Android Showcase
💎 Android application following best practices: Kotlin, Coroutines, JetPack, Clean Architecture, Feature Modules, Tests, MVVM, DI, Static Analysis...
Stars: ✭ 5,214 (+889.37%)
Mutual labels:  architecture
Dephpend
Detect flaws in your architecture, before they drag you down into the depths of dependency hell ...
Stars: ✭ 449 (-14.8%)
Mutual labels:  architecture
Iosched
The Google I/O Android App
Stars: ✭ 20,991 (+3883.11%)
Mutual labels:  architecture
Android Starter
[Android Architecture] Android starter based on MVP/Dagger2/RxJava2/Robolectric/Espresso/Mockito. It provides a generator to fast create a Android template project.
Stars: ✭ 522 (-0.95%)
Mutual labels:  architecture
Designpatternslibrary
A comprehensive design patterns library implemented in C#, which covers various design patterns from the most commonly used ones to the lesser-known ones. Get familiar with and learn design patterns through moderately realistic examples.
Stars: ✭ 485 (-7.97%)
Mutual labels:  architecture
Awesome Ios Architecture
🏯 Better ways to structure iOS apps
Stars: ✭ 4,451 (+744.59%)
Mutual labels:  architecture
Seefood
Inspired by HBO's Silicon Valley: SeeFood is an iOS app that uses CoreML to detect various dishes
Stars: ✭ 445 (-15.56%)
Mutual labels:  xcode9

No Maintenance Intended

⚠️ Deprecated ⚠️

This library is deprecated.

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:

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

Preview

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

Contributed

This is an open source project, so feel free to contribute. How?

  • Open an issue.
  • Send feedback via email.
  • Propose your own fixes, suggestions and open a pull request with the changes.

Author

  • Juanpe Catalán 🐦
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].