Swiftpack.co - Nonchalant/AppIcon as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Nonchalant.
Nonchalant/AppIcon 1.0.5
AppIcon generates *.appiconset contains each resolution image for iOS
⭐️ 1,466
🕓 2 weeks ago
.package(url: "https://github.com/Nonchalant/AppIcon.git", from: "1.0.5")

AppIcon

Build Status platforms GitHub license GitHub release Xcode Swift Swift Package Manager compatible

AppIcon generates *.appiconset contains each resolution image for iOS, MacOS.

AppIcon.appiconset
├── Contents.json
├── AppIcon-20.0x20.0@2x.png
├── AppIcon-20.0x20.0@3x.png
├── AppIcon-29.0x29.0@2x.png
├── AppIcon-29.0x29.0@3x.png
├── AppIcon-40.0x40.0@2x.png
├── AppIcon-40.0x40.0@3x.png
├── AppIcon-60.0x60.0@2x.png
├── AppIcon-60.0x60.0@3x.png
└── AppIcon-1024.0x1024.0@1x.png

Demo

Installation

Homebrew

$ brew install Nonchalant/appicon/appicon

Mint

$ mint run nonchalant/appicon

Manual

Clone the master branch of the repository, then run make install.

$ git clone https://github.com/Nonchalant/AppIcon.git
$ make install

Usage

AppIcon needs path of base image(.png). The size of base image is 1024x1024 pixel preferably.

$ appicon iTunesIcon-1024x1024.png

Option

You can see options by appicon --help.

--icon-name

Default: AppIcon

--output-path

Default: ./AppIcon.appiconset

--ipad

Default: false

--mac

Default: false

--watch

Default: false

Develop

Generate Xcode project

$ make xcode

Runs debug build

$ make debug

Runs release build

$ make build

Runs tests

$ make test

Author

Takeshi Ihara afrontier829@gmail.com

License

Appicon is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 1466
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Dependencies

Release Notes

1.0.5
1 year ago
  • Update SwiftShell library dependency to 5.1.0 #68 (thanks @alphatroya 🎉 )
  • Replace Commander library by ArgumentParser #70 (thanks @alphatroya 🎉 )

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics