mastodon-ios/Mastodon/Scene/Profile/CachedProfileViewModel.swift

20 lines
587 B
Swift

//
// CachedProfileViewModel.swift
// Mastodon
//
// Created by MainasuK Cirno on 2021-3-31.
//
import Foundation
import CoreDataStack
final class CachedProfileViewModel: ProfileViewModel {
init(context: AppContext, mastodonUser: MastodonUser) {
super.init(context: context, optionalMastodonUser: mastodonUser)
logger.log(level: .debug, "\((#file as NSString).lastPathComponent, privacy: .public)[\(#line, privacy: .public)], \(#function, privacy: .public): [Profile] user[\(mastodonUser.id)] profile: \(mastodonUser.acctWithDomain)")
}
}