A library for isolated developing UI components and automatically taking snapshots of them. Playbook is a library that provides a sandbox for building UI components without having to worry about application-specific dependencies, strongly inspired by Storybook for JavaScript in web-frontend development. Components built by using Playbook can generate a standalone app as living style guide. This allows you to not only review UI quickly but also deliver more robust designs by separating business logics out of components. Besides, snapshots of each component can be automatically generated by unit tests, and visual regression testing can be performed using arbitrary third-party tools. For complex modern app development, it’s important to catch UI changes more sensitively and keep improving them faster. With the Playbook, you don't have to struggle through preparing the data and spend human resources for manual testings.
Features
- Playbook is a framework that provides the basic functionality for managing components
- It supports both SwiftUI and UIKit
- PlaybookUI is a framework that provides user interfaces made by SwiftUI for browsing a list of scenarios
- The component visuals are listed and displayed
- The UI that search and select a scenario in a drawer. It's more similar to Storybook
- To save snapshot images to the photo library from the share button on each UI