TabPickerViewController: Refactor to not reference tab controller directly.

This commit is contained in:
James Magahern
2022-08-05 15:13:37 -07:00
parent ace7917080
commit 1db6cf54a9
7 changed files with 181 additions and 112 deletions

21
App/Tabs/TabInfo.swift Normal file
View File

@@ -0,0 +1,21 @@
//
// TabInfo.swift
// App
//
// Created by James Magahern on 8/5/22.
//
import Foundation
import Combine
struct TabInfo
{
public var title: String?
public var url: URL?
public var favicon: UIImage?
public var identifier = UUID()
public static func ==(lhs: TabInfo, rhs: TabInfo) -> Bool {
return lhs.identifier == rhs.identifier
}
}