Trying to add comments to my custom template for colors from .xcassets Catalog. But seems there is no that data.
Is it possible to get data from Contents.json from each color? Actually, there is contains a data for that...
Currently we have the next data in {asset} variable in templates:
/// x339933
static let backgroundGreen = UIColor(name: "backgroundGreen")
This will really be helpful for development since you can't remember all values for each name. When you checking UI design and colors - that comment will help to quickly find the right value without "xcassets" Catalog checking.
Thanks!
Trying to add comments to my custom template for colors from .xcassets Catalog. But seems there is no that data. Is it possible to get data from Contents.json from each color? Actually, there is contains a data for that...
Currently we have the next data in {asset} variable in templates:
Actually the result should be like this:
This will really be helpful for development since you can't remember all values for each name. When you checking UI design and colors - that comment will help to quickly find the right value without "xcassets" Catalog checking. Thanks!