Documentation Language: Swift

Method

setResourceSet(_:)

Sets the resource set that owns this resource.

@MainActor func setResourceSet(_ resourceSet: ResourceSet?) async

Parameters

resourceSet

The resource set to associate with this resource

Discussion

This allows the resource to participate in cross-resource reference resolution through the resource set.