Swiftpack.co -  Nonchalant/AppIcon as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Nonchalant/AppIcon
AppIcon generates *.appiconset contains each resolution image for iOS
.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: 1444
Last commit: 41 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Dependencies

Release Notes

1.0.5
50 weeks 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