Documentation Archive

Developer

Asset Catalog Format Reference

On This Page

GameCenter Leaderboard Type

The image stacks for a named GameCenter leaderboard.

Identifiers are created by combining the value of the ASSETCATALOG​_⁠COMPILER​_⁠LEADERBOARD​_⁠SET​_⁠IDENTIFIER​_⁠PREFIX build setting and the name of the leaderboard set.

Extension

.gcleaderboard

Folder Contents

Image stacks.

Contents.json File

Contains metadata (Table 14-1).

Table 14-1GameCenter Leaderboard image 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. }