mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 16:20:53 +01:00
24 lines
485 B
Swift
24 lines
485 B
Swift
|
//
|
||
|
// AppDelegate+Shared.swift
|
||
|
// NetNewsWire
|
||
|
//
|
||
|
// Created by Brent Simmons on 4/15/24.
|
||
|
// Copyright © 2024 Ranchero Software. All rights reserved.
|
||
|
//
|
||
|
|
||
|
import Foundation
|
||
|
import Images
|
||
|
import ParserObjC
|
||
|
|
||
|
extension AppDelegate: FaviconDownloaderDelegate, FeedIconDownloaderDelegate {
|
||
|
|
||
|
var appIconImage: IconImage? {
|
||
|
IconImage.appIcon
|
||
|
}
|
||
|
|
||
|
func downloadMetadata(_ url: String) async throws -> RSHTMLMetadata? {
|
||
|
|
||
|
try await HTMLMetadataDownloader.downloadMetadata(for: url)
|
||
|
}
|
||
|
}
|