Skip to content

Releases: Stv-X/NSIcon

2.1.0

10 Jan 05:18
Compare
Choose a tag to compare
  • Add: Obtain image copy to determine whether it contains transparent pixels via SwiftUI‘s ImageRenderer instead of requesting an additional image by url, thus reducing network requests and performance overhead.
  • Fix: Mac app icon with a mask will be scaled to an inappropriate size.

2.0.1

09 Jan 15:09
Compare
Choose a tag to compare
  • Fix: Package will not build on the platform of Swift 5.8 or earlier

2.0.0

09 Jan 04:41
d907d83
Compare
Choose a tag to compare

NSIcon 2.0.0 introduces a significant update.
This package is now available on all platforms that support SwiftUI, including the upcoming visionOS.

  • Add: UIIcon can directly access the app's own icon file through one line of code, including layers of the visionOS app.
  • Add: UIAsyncIcon allows you to get access to the icon of any app in the App Store.

1.1.2

08 Jan 07:45
Compare
Choose a tag to compare
  • Fix: App icon mask image assets could not be displayed properly

1.1.1

06 Jan 06:27
6df9fc3
Compare
Choose a tag to compare
  • Add: iconPlaceholderStyle view modifier.
  • Fix: Incompatible with Swift versions earlier than 5.9.
  • Fix: NSAsyncIcon for macOS app with a mask may break the layout.

1.1.0

06 Jan 01:31
Compare
Choose a tag to compare

This is a relatively stable version, which optimized the size of the package while ensuring the provision of high-quality icon materials.

1.0.1

05 Jan 23:46
Compare
Choose a tag to compare
Set Swift tools version to `5.7`

1.0.0

05 Jan 11:44
Compare
Choose a tag to compare
Update README