mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-08 14:46:42 +01:00
21 lines
465 B
Swift
21 lines
465 B
Swift
//
|
|
// MastodonAuthentication.swift
|
|
// MastodonIntent
|
|
//
|
|
// Created by MainasuK on 2022-6-9.
|
|
//
|
|
|
|
import Foundation
|
|
import CoreData
|
|
import CoreDataStack
|
|
|
|
extension MastodonAuthentication {
|
|
|
|
static func fetch(in managedObjectContext: NSManagedObjectContext) throws -> [MastodonAuthentication] {
|
|
let request = MastodonAuthentication.sortedFetchRequest
|
|
let results = try managedObjectContext.fetch(request)
|
|
return results
|
|
}
|
|
|
|
}
|