Types Overview
The folders in asset catalogs represent the overall asset catalog, groups of assets and other groups, and several different types of assets. Some of the asset types in a catalog work only with selected Apple platforms.
Content Types
The type of content represented by a folder is encoded in the extension for the name of the folder. For example, a folder named PosingLlamas.imageset
has a type of imageset
.
Table 5-1 lists the content types, folder name extension, and a brief description of each type.
Folder type |
Extension |
Description |
---|---|---|
|
The various sizes of the icon for an iOS or watchOS app.
Children are |
|
|
An image file for an |
|
|
A group of reference images for ARKit.
Children are AR Reference Image folders. |
|
|
The layered app icons and top shelf image for your app.
Children are image stacks and image sets. |
|
|
The top level folder for the asset catalog.
Children are any valid asset type except Catalog. |
|
|
A 3D texture mapped onto a cube.
Children are |
|
|
Used to include arbitrary app data.
Children are files in any format except binary executable code. |
|
|
Images for the logos in a GameCenter dashboard.
Children are image sets. |
|
|
Background image stack for a GameCenter leaderboard.
Children are image stacks. |
|
|
Background image stack for a GameCenter leaderboard set.
Children are image stacks. |
|
None. No period (.) can appear in the name of the group. |
A group of other elements.
Children are any valid asset type except Catalog. |
|
|
A replica of the
Children are |
|
|
An image used for
Children are |
|
|
A set of layered images combined to enable parallax.
Children are image stack layers. |
|
|
A layer in an image stack.
Children are image sets. |
|
|
Support for app launch images.
Children are |
|
|
An optimized set of texture images at different resolutions.
Children are files for the different resolutions. |
|
|
A named color. The name of the color can be used anywhere in an Xcode project. |
|
|
The image sets used for an
Children are image set asset folders. |
|
|
A sticker for a sticker pack.
Child is the image for the sticker. |
|
|
A pack of stickers for messaging.
Children are |
|
|
A set of images for an animated sticker.
Children are the images for the animation. |
|
|
A 2D texture.
Children are |
|
|
The image sets used for the different types of watch complications.
Children are image set folders. |
Contents.json File
The Contents.json
file specifies metadata for the asset catalog, attributes for a folder type, and attributes for asset files. Table 5-2 shows whether a Contents.json
file is required, optional, or not used for each folder type.
Platform Types
Table 5-3 shows the valid platforms for each folder type.
Adding Asset Catalogs to Projects
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2018-04-09