Contents

SkillDefinition

A definition that identifies one of an app’s skills by the app’s bundle identifier and the skill’s name.

Declaration

struct SkillDefinition

Overview

Get a skill definition from the skills collection of the app’s IntentDefinitions:

let definitions = IntentDefinitions(bundleIdentifier: "com.apple.example")
let planTripSkill = definitions.skills["plan-trip"]

Topics

Instance Properties