mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Add preprocessor for macOS vs iOS import
This commit is contained in:
parent
f235a0c2d0
commit
bac7d9bfb0
@ -1,6 +1,8 @@
|
||||
import CoreData
|
||||
|
||||
#if os(macOS)
|
||||
#if os(iOS)
|
||||
import UIKit
|
||||
#elseif os(macOS)
|
||||
import AppKit
|
||||
#endif
|
||||
|
||||
|
@ -17,6 +17,6 @@ extension WFACollection {
|
||||
|
||||
}
|
||||
|
||||
extension WFACollection : Identifiable {
|
||||
extension WFACollection: Identifiable {
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user