Playbook Ios

screenshot of Playbook Ios

A library for isolated developing UI components and automatically taking snapshots of them.

Overview:

Playbook is a library that provides a sandbox for building UI components without worrying about application-specific dependencies. It is strongly inspired by Storybook for JavaScript in web-frontend development. With Playbook, you can generate a standalone app as a living style guide, allowing you to review UI quickly and deliver more robust designs by separating business logic from components. It also supports automatic generation of snapshots for each component through unit tests, and visual regression testing using third-party tools.

Features:

  • Sandbox for UI components: Playbook provides a sandbox for building UI components without application-specific dependencies.
  • Living style guide: Components built using Playbook can generate a standalone app as a living style guide.
  • Separation of business logic: Playbook allows you to separate business logic from components, resulting in more robust designs.
  • Automatic snapshot generation: Snapshots of each component can be automatically generated by unit tests.
  • Visual regression testing: Playbook supports visual regression testing using arbitrary third-party tools.
  • Support for SwiftUI and UIKit: Playbook supports both SwiftUI and UIKit for building components.
  • Scenario-based component management: Components are uniquely stored as scenarios, with support for various layouts.
  • Scenario isolation with ScenarioProvider: ScenarioProvider allows for isolating additional scenarios and keeping the playbook building clean.