mirror of
https://github.com/laosb/CropImage.git
synced 2025-04-30 23:51:08 +00:00
parent
7042102108
commit
481f59cf41
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ import AppKit
|
||||||
/// On macOS, it's `NSImage` and on iOS/visionOS it's `UIImage`.
|
/// On macOS, it's `NSImage` and on iOS/visionOS it's `UIImage`.
|
||||||
public typealias PlatformImage = NSImage
|
public typealias PlatformImage = NSImage
|
||||||
extension PlatformImage {
|
extension PlatformImage {
|
||||||
static let previewImage: PlatformImage = .init(contentsOf: URL(string: "file:///System/Library/Desktop%20Pictures/Hello%20Metallic%20Blue.heic")!)!
|
@MainActor static let previewImage: PlatformImage = .init(contentsOf: URL(string: "file:///System/Library/Desktop%20Pictures/Hello%20Metallic%20Blue.heic")!)!
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
import UIKit
|
import UIKit
|
||||||
|
|
Loading…
Add table
Reference in a new issue