Initializer

init(tags:bundle:)

Initializes a resource request for managing the on-demand resources marked with any of the set of specified tags. The managed resources are loaded into the specified bundle.

Declaration

init(tags: Set<String>, bundle: Bundle)

Parameters

tags

A set of strings, with each string specifying a tag assigned to resources stored in bundle. The value must not be nil.

bundle

The bundle used to store the loaded resources. Pass nil for the main bundle. The bundle must be the same as the one used in the Xcode project for all the resources marked with the specified tags.

Return Value

The initialized resource request.

See Also

Initializing a Resource Request

init(tags: Set<String>)

Initializes a resource request for managing the on-demand resources marked with any of the set of specified tags. The managed resources are loaded into the main bundle.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software