remove unused Combine imports

This commit is contained in:
Satindar Dhillon 2022-06-21 14:51:26 -07:00
parent f449f52455
commit 587cbe2f26
7 changed files with 0 additions and 12 deletions

View file

@ -1,4 +1,3 @@
import Combine
import Foundation
import Models
import Services

View file

@ -1,4 +1,3 @@
import Combine
import CoreData
import Models
import Services
@ -11,8 +10,6 @@ import Views
let item: LinkedItem?
@Published var webAppWrapperViewModel: WebAppWrapperViewModel?
var subscriptions = Set<AnyCancellable>()
init(linkedItemObjectID: NSManagedObjectID, dataService: DataService) {
if let linkedItem = dataService.viewContext.object(with: linkedItemObjectID) as? LinkedItem {
self.pdfItem = PDFItem.make(item: linkedItem)

View file

@ -1,4 +1,3 @@
import Combine
import Models
import Services
import SwiftUI
@ -8,8 +7,6 @@ import Views
@MainActor final class NewAppleSignupViewModel: ObservableObject {
@Published var loginError: LoginError?
var subscriptions = Set<AnyCancellable>()
init() {}
func submitProfile(userProfile: UserProfile, authenticator: Authenticator) async {

View file

@ -1,4 +1,3 @@
import Combine
import Models
import Services
import SwiftUI

View file

@ -1,4 +1,3 @@
import Combine
import Foundation
import Models

View file

@ -1,4 +1,3 @@
import Combine
import CoreData
import CoreImage
import Foundation
@ -19,7 +18,6 @@ public final class DataService: ObservableObject {
var persistentContainer: PersistentContainer
public var backgroundContext: NSManagedObjectContext
var subscriptions = Set<AnyCancellable>()
public var viewContext: NSManagedObjectContext {
persistentContainer.viewContext

View file

@ -1,4 +1,3 @@
import Combine
import Foundation
import Models
import SwiftGraphQL