WorkflowKit

Library for use shortcut files in Swift.

MIT License

Stars
5
Committers
2

Usage

let url = Bundle(for: type(of: self)).url(forResource: "Flashlight Morse", withExtension: "shortcut")!
let shortcut = Shortcut(url: url)!
shortcut.workflow.actions.map({ $0.identifier })
let gradientLayer = GradientLayerFactory.make(from: workflow.icon.startColor)

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

WorkflowKit is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'WorkflowKit'

Author

noppefoxwolf, [email protected]

License

WorkflowKit is available under the MIT license. See the LICENSE file for more info.

TODO

  • support action params
  • support icon data
  • support enums