Skip to content

Structure

ScopedAttributeContainer

iOS 15.0+ iPadOS 15.0+ Mac Catalyst 15.0+ macOS 12.0+ tvOS 15.0+ watchOS 8.0+
An attribute container that allows dynamic member lookup of its contents within the specified attribute scope.
@dynamicMemberLookup struct ScopedAttributeContainer<S> where S : AttributeScope

Overview

Use a ScopedAttributeContainer when you need to disambiguate between attributes that exist in several attribute scopes that your app uses.

Topics

Subscripts

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype