Skip to content
This repository has been archived by the owner on Sep 6, 2018. It is now read-only.

Commit

Permalink
Small bit of info to solve actool issue
Browse files Browse the repository at this point in the history
  • Loading branch information
djbe committed May 7, 2017
1 parent e2ee48f commit f3185d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/Assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

The assets parser accepts one (or more) asset catalogs, which it'll parse using the `actool` utility. For now it only parses `image set`s and folders.

Note: there is a bug in `actool` where it won't be able to parse a catalog if it contains certain types of assets, see [here](https://github.com/SwiftGen/SwiftGen/issues/228).
Note: there is a bug in `actool` where it won't be able to parse a catalog if it contains certain types of assets, see [here](https://github.com/SwiftGen/SwiftGen/issues/228). The best solution (for now) is to split your asset catalog into multiple ones, and to run SwiftGen on the catalog(s) with supported types.

## Output

Expand All @@ -14,7 +14,7 @@ The output context has the following structure:
- `name` : `String` — the name of the catalog
- `assets`: `Array` — tree structure of items, each item is either a:
- group: this represents a folder
- `name` : `String` — name of the folder
- `name` : `String` — name of the folder
- `items`: `Array` — list of items, can be either groups or images
- image: this represents an image asset
- `name` : `String` — name of the image
Expand Down

0 comments on commit f3185d1

Please sign in to comment.