Skip to content

Releases: heroesofcode/MagicImages

1.6.0

22 Jul 01:50
Compare
Choose a tag to compare

What's changed?

  • Updated to ensure the cache is checked before trying to download the image - #68 - @joaolfp

Tools updated

visionOS Support

24 Mar 17:29
Compare
Choose a tag to compare

What's new?

  • Added visionOS Support

1.4.0

06 Jan 19:19
Compare
Choose a tag to compare

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

02 Oct 14:26
Compare
Choose a tag to compare

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

29 Sep 01:43
Compare
Choose a tag to compare

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

25 Sep 11:08
Compare
Choose a tag to compare

Requirements

  • MagicImages now requires iOS 12+ and tvOS 12+.

New parameters

22 Aug 10:47
c33e1c6
Compare
Choose a tag to compare
  • 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

20 Aug 00:57
Compare
Choose a tag to compare

Fix

  • Fix SwiftLint error (For where)

Change

  • We will no longer support CocoaPods and Carthage, we will remain in Swift Package Manager only

tvOS Support

31 Oct 20:30
Compare
Choose a tag to compare
  • Add support to tvOS

0.3.3

28 Oct 01:34
Compare
Choose a tag to compare
  • Add support to Carthage and CocoaPods