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)
To run the example project, clone the repo, and run pod install
from the Example directory first.
WorkflowKit is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'WorkflowKit'
noppefoxwolf, [email protected]
WorkflowKit is available under the MIT license. See the LICENSE file for more info.