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 benil. - bundle:
The bundle used to store the loaded resources. Pass
nilfor 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.