Skip to content

Installation

Gavin Huang edited this page Mar 30, 2023 · 5 revisions

Swift Package Manager

  1. In Xcode, select File -> Add Packages

  2. In the popup, search for [email protected]:powerhome/PlaybookSwift.git and click Add Package

    Package

  3. After Playbook and its associated Package Dependencies finishing installing, in the left-hand sidebar, right click Package Dependencies -> Resolve Package Versions

Using Playbook Swift

  1. In your Swift view file, at the top, import Playbook
  2. Use the desired kits
  3. Rebuild the project

Note: YAML Configuration Files

  • You may need to add the package like so:
packages:
  Playbook:
    url: [email protected]:powerhome/PlaybookSwift.git
    version x.x.x // Where x.x.x is the desired version
Clone this wiki locally