The Contents.json file of an asset catalog's image looks like this:
{
"images" : [
{
"idiom" : "universal",
"filename" : "Hero-0-Recharging.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "Hero-0-Recharging@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "Hero-0-Recharging@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Let's suppose that I want to add additional info to this image's json data, which is meant to be accessed at runtime. If I modify the json text data (e.g. by adding the "color" attribute to every version of the image), is there a way to read it at runtime?