mirror of
https://github.com/laosb/CropImage.git
synced 2025-04-30 23:51:08 +00:00
Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
9a8b486f55 | ||
![]() |
481f59cf41 |
2 changed files with 3 additions and 1 deletions
2
.github/FUNDING.yml
vendored
Normal file
2
.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
github: [laosb]
|
||||
buy_me_a_coffee: laosb
|
|
@ -14,7 +14,7 @@ import AppKit
|
|||
/// On macOS, it's `NSImage` and on iOS/visionOS it's `UIImage`.
|
||||
public typealias PlatformImage = NSImage
|
||||
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
|
||||
import UIKit
|
||||
|
|
Loading…
Add table
Reference in a new issue