Type Method

loadBodyTrackedAsync(contentsOf:withName:)

Loads a body-tracked entity from a file URL asynchronously.

Declaration

static func loadBodyTrackedAsync(contentsOf url: URL, withName resourceName: String? = nil) -> LoadRequest<BodyTrackedEntity>

Parameters

url

A file URL representing the file to load.

resourceName

A unique name to assign to the loaded resource, for use in network synchronization.

Return Value

A resource loader that publishes the root entity in the loaded file as a BodyTrackedEntity.

See Also

Loading a Flattened Body-Tracked Entity

static func loadBodyTracked(named: String, in: Bundle?) -> BodyTrackedEntity

Blocks your app while loading a body-tracked entity from a file in a bundle.

static func loadBodyTracked(contentsOf: URL, withName: String?) -> BodyTrackedEntity

Blocks your app while loading a body-tracked entity from a file URL.

static func loadBodyTrackedAsync(named: String, in: Bundle?) -> LoadRequest<BodyTrackedEntity>

Loads a body-tracked entity from a file in a bundle asynchronously.