mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-01 20:40:59 +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
|
|
}
|
|
}
|