Kaynağa Gözat
Add preprocessor for macOS vs iOS import
pull/42/head
Angelo Stavrow
3 yıl önce
ebeveyn
işleme
bac7d9bfb0
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 1A49C7064E060EEE
2 değiştirilmiş dosya ile
4 ekleme ve
2 silme
-
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 { |
|
|
|
|
|
|
|
} |