<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macOS: 27.3.0 -",
    "visionOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriEvaluations",
  "identifier" : "/documentation/SiriEvaluations/Loads/init(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Siri Evaluations"
    ],
    "preciseIdentifier" : "s:15SiriEvaluations5LoadsVyA2C11EnforcementO_Say17AppIntentsTesting15SkillDefinitionVGyXEtcfc"
  },
  "title" : "init(_:_:)"
}
-->

# init(_:_:)

Creates an expectation that the skills in the block load, graded according to the enforcement.

```
init(_ enforcement: Loads.Enforcement, @SkillExpectationBuilder _ content: () -> [SkillDefinition])
```

## Discussion

Written `Loads(.required) { organizeEventSkill }` or `Loads(.preferred) { organizeEventSkill }`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)