Add preprocessor for macOS vs iOS import

This commit is contained in:
Angelo Stavrow 2020-09-02 13:17:56 -04:00
parent f235a0c2d0
commit bac7d9bfb0
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
import CoreData
#if os(macOS)
#if os(iOS)
import UIKit
#elseif os(macOS)
import AppKit
#endif

View File

@ -17,6 +17,6 @@ extension WFACollection {
}
extension WFACollection : Identifiable {
extension WFACollection: Identifiable {
}