VIPER

Architecture for Swift.

VIPER is a lightweight Swift framework inspired by Clean Architecture. It separates app logic into responsibilities, making modules clearer, more testable and easier to scale across teams.

About VIPER

A closer look.

Overview. VIPER is a Swift Package that distills VIPER architecture into a compact, type-safe framework for iOS, macOS and tvOS. It extracts assembly responsibility from the Router into the Module, uses Entities for Interactor dependencies, and provides a Builder for dependency injection.

The package also includes viper-tools, a command-line utility for generating new VIPER modules, making it easier to adopt the architecture consistently across iOS, macOS and tvOS projects.

Role
  • Creator
Category
Swift Package
Released
January 2020
Skills
  • iOS, macOS, tvOS
  • Swift, Swift Package Manager
  • Architecture