Documentation Archive

Developer

Asset Catalog Format Reference

On This Page

Catalog Type

The root level folder of an asset catalog. There can only be one of these in an asset catalog.

Extension

.xcassets

Folder Contents

Any asset type except catalog.

Contents.json File (Optional)

Metadata relating to the catalog (Table 10-1).

Table 10-1Catalog tags

Key

Type

Description

info

Dictionary

Metadata for the author and format version of the asset catalog.

   author

String

Use your bundle ID.

   version

Number

The format version of the asset catalog. Use 1.

Sample Contents.json File

  1. {
  2.   "info" : {
  3.       "author" : "com.developerName",
  4.       "version" : 1
  5.    }
  6. }