Browse Source
Add preprocessor for macOS vs iOS import
pull/42/head
Angelo Stavrow
3 years ago
No known key found for this signature in database
GPG Key ID: 1A49C7064E060EEE
2 changed files with
4 additions and
2 deletions
-
Shared/PersistenceManager.swift
-
WFACollection+CoreDataProperties.swift
|
|
@@ -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 { |
|
|
|
|
|
|
|
} |