Browse Source

Add preprocessor for macOS vs iOS import

pull/42/head
Angelo Stavrow 3 years ago
parent
commit
bac7d9bfb0
No known key found for this signature in database GPG Key ID: 1A49C7064E060EEE
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      Shared/PersistenceManager.swift
  2. +1
    -1
      WFACollection+CoreDataProperties.swift

+ 3
- 1
Shared/PersistenceManager.swift View File

@@ -1,6 +1,8 @@
import CoreData

#if os(macOS)
#if os(iOS)
import UIKit
#elseif os(macOS)
import AppKit
#endif



+ 1
- 1
WFACollection+CoreDataProperties.swift View File

@@ -17,6 +17,6 @@ extension WFACollection {

}

extension WFACollection : Identifiable {
extension WFACollection: Identifiable {

}

Loading…
Cancel
Save