Releases: Stv-X/NSIcon
Releases · Stv-X/NSIcon
2.1.0
- 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
2.0.0
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.