mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-26 02:01:00 +00:00
14 lines
286 B
Swift
14 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
|
|
}
|
|
}
|