Documentation Language: Swift

Method

mapURI(from:to:)

Maps a logical URI to a physical URI.

func mapURI(from logicalURI: String, to physicalURI: String)

Parameters

logicalURI

The logical URI to map.

physicalURI

The physical URI it should resolve to.

Discussion

This enables URI redirection for resource loading, allowing logical model references to be resolved to actual file system locations.