Ver código fonte

Add preprocessor for macOS vs iOS import

pull/42/head
Angelo Stavrow 3 anos atrás
pai
commit
bac7d9bfb0
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 1A49C7064E060EEE
2 arquivos alterados com 4 adições e 2 exclusões
  1. +3
    -1
      Shared/PersistenceManager.swift
  2. +1
    -1
      WFACollection+CoreDataProperties.swift

+ 3
- 1
Shared/PersistenceManager.swift Ver arquivo

@@ -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 Ver arquivo

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

}

extension WFACollection : Identifiable {
extension WFACollection: Identifiable {

}

Carregando…
Cancelar
Salvar