Sprinkle in some deprecations to see what needs to be done with MastodonUser (IOS-192, IOS-189)
This commit is contained in:
parent
bf433e332f
commit
682fe27319
|
@ -33,7 +33,11 @@ class ProfileViewModel: NSObject {
|
|||
// input
|
||||
let context: AppContext
|
||||
let authContext: AuthContext
|
||||
|
||||
@available(*, deprecated, message: "Replace with Account")
|
||||
@Published var me: MastodonUser?
|
||||
|
||||
@available(*, deprecated, message: "Replace with Account")
|
||||
@Published var user: MastodonUser?
|
||||
|
||||
let viewDidAppear = PassthroughSubject<Void, Never>()
|
||||
|
|
|
@ -9,6 +9,7 @@ import CoreData
|
|||
import Foundation
|
||||
|
||||
/// See also `CoreDataStack.MastodonUser`, this extension contains several
|
||||
@available(*, deprecated, message: "Replace with Mastodon.Entity.Account")
|
||||
final public class MastodonUser: NSManagedObject {
|
||||
|
||||
public typealias ID = String
|
||||
|
|
|
@ -96,6 +96,7 @@ public struct RelationshipActionOptionSet: OptionSet {
|
|||
}
|
||||
}
|
||||
|
||||
@available(*, deprecated, message: "Replace with Mastodon.Entity.Relationship")
|
||||
public final class RelationshipViewModel {
|
||||
|
||||
var disposeBag = Set<AnyCancellable>()
|
||||
|
|
Loading…
Reference in New Issue