mirror of
https://github.com/metabolist/metatext.git
synced 2024-06-08 16:39:26 +00:00
15 lines
286 B
Swift
15 lines
286 B
Swift
// Copyright © 2020 Metabolist. All rights reserved.
|
|
|
|
import Foundation
|
|
#if canImport(UIKit)
|
|
import UIKit
|
|
#elseif canImport(AppKit)
|
|
import AppKit
|
|
#endif
|
|
|
|
extension TimelinesEndpoint: Stubbing {
|
|
func data(url: URL) -> Data? {
|
|
NSDataAsset(name: "timelineJSON")!.data
|
|
}
|
|
}
|