Skip to content

Commit

Permalink
fixing delegate
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar Otasevic committed Sep 16, 2024
1 parent a7a6523 commit e62634b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Sources/ViewInspection/DummyObjects.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import SwiftUI

#if os(iOS) || os(tvOS)
@available(iOS 14.0, tvOS 14.0, *)
#if canImport(UIKit) && !os(watchOS)
final class UIDummyDelegate: NSObject, UIApplicationDelegate {}
#endif

#if os(macOS)
@available(macOS 11.0, *)
#if canImport(AppKit)
final class NSDummyDelegate: NSObject, NSApplicationDelegate {}
#endif

Expand Down

0 comments on commit e62634b

Please sign in to comment.