Replace webFeed with Feed in a few more places (which also fixes the add-feed sheet).

This commit is contained in:
Brent Simmons
2023-07-14 11:18:04 -07:00
parent b322b87b91
commit 81f7ac147a
7 changed files with 176 additions and 40 deletions

View File

@@ -0,0 +1,25 @@
//
// AddFeedWindowControllerDelegate.swift
// NetNewsWire
//
// Created by Maurice Parker on 4/21/20.
// Copyright © 2020 Ranchero Software. All rights reserved.
//
import Foundation
import Account
@MainActor protocol AddFeedWindowControllerDelegate: AnyObject {
// userEnteredURL will have already been validated and normalized.
func addFeedWindowController(_: AddFeedWindowController, userEnteredURL: URL, userEnteredTitle: String?, container: Container)
func addFeedWindowControllerUserDidCancel(_: AddFeedWindowController)
}
@MainActor protocol AddFeedWindowControllerProtocol {
var window: NSWindow? { get }
func runSheetOnWindow(_ hostWindow: NSWindow)
}