0.5.0 ā€¢ Published 4 years ago

xcassets v0.5.0

Weekly downloads
4
License
ISC
Repository
github
Last release
4 years ago

npm.io

šŸ“² xcassets

Generate xcassets resources for your iOS application

THIS PACKAGE IS WORK IN PROGRESS, for everything you can write me an email šŸ“¬

Getting started

npm i -g xcassets

NPM

How to generate xcassets

Run the command

xcassets --icon=[PNG_FILE]

or

xcassets --icon [PNG_FILE]

with [PNG_FILE] the icon in PNG format (at least 1024x1024!)

or simply

xcassets

xcassets uses a default png file called appIcon.png in this case

šŸ“² xcassets will create for you a folder called Images.xcassets with sub-folder AppIcon.appiconset and all the correct resources. You can now import the entire Images.xcassets directly in XCode

help

$ xcassets -h
Usage: xcassets [options]

Options:
  -i, --icon     The original icon in png format        [default: "appIcon.png"]
  -h, --help     Show help                                             [boolean]
 -v, --version  Show version number                                   [boolean]

Future work

At the moment xcassets generate only app-icon assets!

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago