Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/danielsaidi/appiconkit

AppIconKit helps you manage alternate app icons on macOS and iOS.
https://github.com/danielsaidi/appiconkit

swift swiftui

Last synced: about 8 hours ago
JSON representation

AppIconKit helps you manage alternate app icons on macOS and iOS.

Awesome Lists containing this project

README

        


AppIconKit Logo


Version
Swift 6.0
MIT License
Twitter: @danielsaidi
Mastodon: @danielsaidi@mastodon.social

## About AppIconKit

AppIconKit helps you manage alternate app icons on both macOS and iOS.

## Installation

AppIconKit can be installed with the Swift Package Manager:

```
https://github.com/danielsaidi/AppIconKit.git
```

## Getting Started

AppIconKit helps you manage alternate app icons on both macOS and iOS.

The SDK has a couple of central types:

* Use `AlternateAppIcon` to create a list of all alternate icons in your app.
* Use `AlternateAppIcon.Collection` to create icon collections.
* Use an `AlternateAppIconContext` to keep track of the selected icon.

You can easily create a `LazyVGrid` picker with icons, or use an `AlternateAppIcon.Shelf`:


Screenshot

You can also use the context's `setAlternateAppIcon(...)` to set an icon with code.

> [!IMPORTANT]
> Make sure to enable `Include All App Icon Assets` in the app's Info.plist for the app to be able to select icons. Also note that you must add both an `.imageset` and an `.appiconset` for each icon, since SwiftUI can't render `.appiconset`.

## Documentation & Demo app

This library will get a proper documentation once it gets more than 100 stars. Until then, check out the getting-started guide above and the demo app below.

## Demo app

The demo app lets you explore the library. To try it out, just open and run the `Demo` project.

## Support my work

You can [sponsor me][Sponsors] on GitHub Sponsors or [reach out][Email] for paid support, to help support my [open-source projects][OpenSource].

Your support makes it possible for me to put more work into these projects and make them the best they can be.

## Contact

Feel free to reach out if you have questions or want to contribute in any way:

* Website: [danielsaidi.com][Website]
* Mastodon: [@[email protected]][Mastodon]
* Twitter: [@danielsaidi][Twitter]
* E-mail: [[email protected]][Email]

## License

AppIconKit is available under the MIT license. See the [LICENSE][License] file for more info.

[Email]: mailto:[email protected]

[Website]: https://danielsaidi.com
[GitHub]: https://github.com/danielsaidi
[Twitter]: https://twitter.com/danielsaidi
[Mastodon]: https://mastodon.social/@danielsaidi
[OpenSource]: https://danielsaidi.com/opensource
[Sponsors]: https://github.com/sponsors/danielsaidi

[Documentation]: https://danielsaidi.github.io/AppIconKit
[Getting-Started]: https://danielsaidi.github.io/AppIconKit/documentation/appiconkit/getting-started

[License]: https://github.com/danielsaidi/AppIconKit/blob/master/LICENSE