mastodon-app-ufficiale-ipho.../ShareActionExtension/Scene/ShareViewModel.swift

41 lines
681 B
Swift

//
// ShareViewModel.swift
// MastodonShareAction
//
// Created by MainasuK Cirno on 2021-7-16.
//
import Foundation
import Combine
import CoreData
import CoreDataStack
import MastodonSDK
import SwiftUI
import UniformTypeIdentifiers
import MastodonAsset
import MastodonLocalization
import MastodonUI
import MastodonCore
final class ShareViewModel {
var disposeBag = Set<AnyCancellable>()
// input
let context: AppContext
@Published var authContext: AuthContext?
@Published var isPublishing = false
// output
init(
context: AppContext
) {
self.context = context
// end init
}
}