Releases: heroesofcode/MagicImages
Releases · heroesofcode/MagicImages
1.6.0
visionOS Support
What's new?
- Added visionOS Support
1.4.0
Fix
- Fix error synchronous URL loading with SwiftUI, a URL loading operation was occurring synchronously (blocking) in the main thread of your application. This can cause slow user interface response and even crash the application in some cases.
Requirements
- MagicImages now requires iOS 13+ and tvOS 13+.
1.3.0
What's new?
- Cache support. Magic Images now effectively uses caching to store and retrieve images, reducing the need to download the same image multiple times.
- There is a new placeholder parameter. When the api fails, the placeholder image will appear.
MagicImages(image: imageView).start(url: "IMAGE URL", placeholder: "PhotoLocal")
Support
- We will not support Interface Builder starting from version 1.3.0.
Fix
- We fixed a bug for tvOS in SwiftUI.
SwiftUI Support
What's new?
Starting with version 1.2.0, MagicImages will be supporting SwiftUI
How to use?
MagicImagesUI(url: "www.example.com/image.jpg")
.frame(width: 300, height: 300)
.cornerRadius(20)
1.1.0
New parameters
- Added new parameters to load local image
- Improved project structure
MagicImages(image: imageView).start(name: "IMAGE NAME")
MagicImages(image: imageView).start(uiImage: UIImage(systemName: "heart.fill"))
0.5.0
tvOS Support
- Add support to tvOS