ソースを参照

Add preprocessor for macOS vs iOS import

pull/42/head
Angelo Stavrow 3年前
コミット
bac7d9bfb0
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 1A49C7064E060EEE
2個のファイルの変更4行の追加2行の削除
  1. +3
    -1
      Shared/PersistenceManager.swift
  2. +1
    -1
      WFACollection+CoreDataProperties.swift

+ 3
- 1
Shared/PersistenceManager.swift ファイルの表示

@@ -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 ファイルの表示

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

}

extension WFACollection : Identifiable {
extension WFACollection: Identifiable {

}

読み込み中…
キャンセル
保存