Data Set Type
A set of files containing any sort of data except device-executable code (Mach-O) generated by Xcode.
Extension
.dataset
Folder Contents
Any files except Mach-O executable code.
Contents.json File (Required)
Metadata, on-demand resource tags, and App Slicing properties (Table 12-1).
Key |
Type |
Description |
|---|---|---|
|
Dictionary |
Versioning information for the asset catalog. |
|
String |
The application that authored the asset catalog. |
|
Number |
The version of the asset catalog. |
|
Dictionary |
Properties for the data set. |
|
Array of strings |
The on-demand resource tags for the data set. |
|
Array of dictionaries |
The data items in the set. |
|
Slot component |
The color space for the data item. For the values, see color-space in Image Set Type. |
|
Slot component |
The color gamut of the device display. For the values, see display-gamut in Image Set Type. |
|
String |
The file for the data item. |
|
Slot component |
The device type for the data item. For the values, see idiom in Image Set Type. |
|
Slot component |
The graphics features required for the data item. For the values, see graphics-feature-set in Image Set Type. |
|
Slot component |
The memory required by the data item. For the values, see memory in Image Set Type. |
|
String |
A type identifier for developers to determine which kind of data item they are accessing.
At runtime, the value of this tag is accessed using the |
Values for Enumerated Tags
color-space
See color-space in Image Set Type.
display-gamut
See display-gamut in Image Set Type.
idiom
See idiom in Image Set Type.
graphics-feature-set
See graphics-feature-set in Image Set Type.
memory
See memory in Image Set Type.
Sample Contents.json File
{"data" : [{"idiom" : "universal","filename" : "Scripted Answer Llama.twl","universial-type-identifier" : "com.testdeveloper.testapp.twl","memory" : "2GB","graphics-feature-set" : "metal2v2"},…],"info" : {"author" : "com.developerName","version" : 1},"properties" : {"on-demand-resources : ["llama","mountain"]}}
Copyright © 2018 Apple Inc. All rights reserved. Terms of Use | Privacy Policy | Updated: 2018-04-09
