Skip to content

Commit

Permalink
Merge pull request #103 from UbiqueInnovation/feature/dev-tools-public
Browse files Browse the repository at this point in the history
UBDevTools public methods
  • Loading branch information
stmitt authored Sep 20, 2024
2 parents d097e6a + 4df4b51 commit 0afb742
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sources/UBDevTools/BackendDevTools.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ public class BaseUrl: ObservableObject {
}

@available(iOS 13.0, *)
class BackendDevTools: DevTool {
public class BackendDevTools: DevTool {
private static var didSwizzle = false
public static var baseUrls: [BaseUrl] = []

class ViewModel: ObservableObject {
public class ViewModel: ObservableObject {
@Published var urls: [BaseUrl] = []
var appSpecificView: AnyView = AnyView(EmptyView())
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/UBDevTools/DevTools.swift
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ extension UIWindow {
return window
}

@objc private func openDevTools() {
@objc public func openDevTools() {
if let rootVC = rootViewController, let devToolsVC = DevToolsViewController() {
var vc = rootVC
while let presented = vc.presentedViewController {
Expand Down

0 comments on commit 0afb742

Please sign in to comment.