mirror of
https://github.com/laosb/CropImage.git
synced 2025-05-02 08:21:09 +00:00
Compare commits
No commits in common. "main" and "0.8.1" have entirely different histories.
2 changed files with 1 additions and 3 deletions
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
|
@ -1,2 +0,0 @@
|
|||
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 {
|
||||
@MainActor static let previewImage: PlatformImage = .init(contentsOf: URL(string: "file:///System/Library/Desktop%20Pictures/Hello%20Metallic%20Blue.heic")!)!
|
||||
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