Add a menu item to the Debug menu to enable the Web Inspector

Just enables the "Inspect Element" item in a WKWebView's contextual menu at the moment.
This commit is contained in:
Nate Weaver
2019-09-16 21:06:35 -05:00
parent 66d9333999
commit e39fa31bf7
5 changed files with 53 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ extension Notification.Name {
static let InspectableObjectsDidChange = Notification.Name("TimelineSelectionDidChangeNotification")
static let UserDidAddFeed = Notification.Name("UserDidAddFeedNotification")
static let UserDidRequestSidebarSelection = Notification.Name("UserDidRequestSidebarSelectionNotification")
static let WebInspectorEnabledDidChange = Notification.Name("WebInspectorEnabledDidChange")
}
typealias UserInfoDictionary = [AnyHashable: Any]