Contents

assetPack(withID:)

Returns the asset pack in this manifest with the given ID.

Declaration

func assetPack(withID id: String) -> AssetPack?

Parameters

  • id:

    The asset pack’s ID.

Return Value

The asset pack, if it could be found in this manifest; otherwise, nil.

See Also

Getting asset packs