Method
createResource(uri:in:)
Creates a resource from the specified URI.
func createResource(uri: String, in resourceSet: ResourceSet) throws -> Resource
Parameters
uri-
The URI of the resource to create/load.
resourceSet-
The resource set that will own the resource.
Return Value
The created resource.