Skip to content

Commit 45e1d46

Browse files
authored
Merge pull request #9 from Kiruel/fix/ios-crash-update-interface
fix: ios crash update interface
2 parents 843f278 + 338d136 commit 45e1d46

7 files changed

Lines changed: 81 additions & 54 deletions

File tree

Frameworks/ScreenPreventerKit.xcframework/ios-arm64/ScreenPreventerKit.framework/Modules/ScreenPreventerKit.swiftmodule/arm64-apple-ios.private.swiftinterface

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public protocol ScreenPreventable {
1919
func removeAllObserver()
2020
func removeScreenRecordObserver()
2121
func removeScreenshotObserver()
22-
#if compiler(>=5.3) && $NonescapableTypes
22+
#if true
2323
func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
2424
#endif
2525
func disableImageScreen()
@@ -31,10 +31,10 @@ public protocol ScreenPreventable {
3131
func disablePreventScreenRecording()
3232
func disablePreventScreenshot()
3333
func enablePreventScreenshot()
34-
#if compiler(>=5.3) && $NonescapableTypes
34+
#if true
3535
func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
3636
#endif
37-
#if compiler(>=5.3) && $NonescapableTypes
37+
#if true
3838
func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
3939
#endif
4040
func enabledBlurScreen()
@@ -43,7 +43,7 @@ public protocol ScreenPreventable {
4343
func setRootViewResolver(_ resolver: any ScreenPreventerKit.ScreenPreventerRootViewResolving)
4444
}
4545
public protocol ScreenPreventerRootViewResolving {
46-
#if compiler(>=5.3) && $NonescapableTypes
46+
#if true
4747
func resolveRootView() -> UIKit.UIView?
4848
#endif
4949
}
@@ -56,16 +56,16 @@ public enum ScreenPreventerMode : Swift.Equatable {
5656
}
5757
public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
5858
public var window: UIKit.UIWindow?
59-
#if compiler(>=5.3) && $NonescapableTypes
59+
#if true
6060
public init(window: UIKit.UIWindow? = nil)
6161
#endif
62-
#if compiler(>=5.3) && $NonescapableTypes
62+
#if true
6363
public static func initial(with view: UIKit.UIView?)
6464
#endif
65-
#if compiler(>=5.3) && $NonescapableTypes
65+
#if true
6666
public func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
6767
#endif
68-
#if compiler(>=5.3) && $NonescapableTypes
68+
#if true
6969
public func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
7070
#endif
7171
public func enablePreventScreenshot()
@@ -77,7 +77,7 @@ public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
7777
public func disableColorScreen()
7878
public func enabledImageScreen(named: Swift.String)
7979
public func disableImageScreen()
80-
#if compiler(>=5.3) && $NonescapableTypes
80+
#if true
8181
public func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
8282
#endif
8383
public func removeScreenshotObserver()

Frameworks/ScreenPreventerKit.xcframework/ios-arm64/ScreenPreventerKit.framework/Modules/ScreenPreventerKit.swiftmodule/arm64-apple-ios.swiftinterface

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public protocol ScreenPreventable {
1919
func removeAllObserver()
2020
func removeScreenRecordObserver()
2121
func removeScreenshotObserver()
22-
#if compiler(>=5.3) && $NonescapableTypes
22+
#if true
2323
func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
2424
#endif
2525
func disableImageScreen()
@@ -31,10 +31,10 @@ public protocol ScreenPreventable {
3131
func disablePreventScreenRecording()
3232
func disablePreventScreenshot()
3333
func enablePreventScreenshot()
34-
#if compiler(>=5.3) && $NonescapableTypes
34+
#if true
3535
func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
3636
#endif
37-
#if compiler(>=5.3) && $NonescapableTypes
37+
#if true
3838
func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
3939
#endif
4040
func enabledBlurScreen()
@@ -43,7 +43,7 @@ public protocol ScreenPreventable {
4343
func setRootViewResolver(_ resolver: any ScreenPreventerKit.ScreenPreventerRootViewResolving)
4444
}
4545
public protocol ScreenPreventerRootViewResolving {
46-
#if compiler(>=5.3) && $NonescapableTypes
46+
#if true
4747
func resolveRootView() -> UIKit.UIView?
4848
#endif
4949
}
@@ -56,16 +56,16 @@ public enum ScreenPreventerMode : Swift.Equatable {
5656
}
5757
public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
5858
public var window: UIKit.UIWindow?
59-
#if compiler(>=5.3) && $NonescapableTypes
59+
#if true
6060
public init(window: UIKit.UIWindow? = nil)
6161
#endif
62-
#if compiler(>=5.3) && $NonescapableTypes
62+
#if true
6363
public static func initial(with view: UIKit.UIView?)
6464
#endif
65-
#if compiler(>=5.3) && $NonescapableTypes
65+
#if true
6666
public func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
6767
#endif
68-
#if compiler(>=5.3) && $NonescapableTypes
68+
#if true
6969
public func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
7070
#endif
7171
public func enablePreventScreenshot()
@@ -77,7 +77,7 @@ public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
7777
public func disableColorScreen()
7878
public func enabledImageScreen(named: Swift.String)
7979
public func disableImageScreen()
80-
#if compiler(>=5.3) && $NonescapableTypes
80+
#if true
8181
public func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
8282
#endif
8383
public func removeScreenshotObserver()

Frameworks/ScreenPreventerKit.xcframework/ios-arm64_x86_64-simulator/ScreenPreventerKit.framework/Modules/ScreenPreventerKit.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public protocol ScreenPreventable {
1919
func removeAllObserver()
2020
func removeScreenRecordObserver()
2121
func removeScreenshotObserver()
22-
#if compiler(>=5.3) && $NonescapableTypes
22+
#if true
2323
func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
2424
#endif
2525
func disableImageScreen()
@@ -31,10 +31,10 @@ public protocol ScreenPreventable {
3131
func disablePreventScreenRecording()
3232
func disablePreventScreenshot()
3333
func enablePreventScreenshot()
34-
#if compiler(>=5.3) && $NonescapableTypes
34+
#if true
3535
func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
3636
#endif
37-
#if compiler(>=5.3) && $NonescapableTypes
37+
#if true
3838
func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
3939
#endif
4040
func enabledBlurScreen()
@@ -43,7 +43,7 @@ public protocol ScreenPreventable {
4343
func setRootViewResolver(_ resolver: any ScreenPreventerKit.ScreenPreventerRootViewResolving)
4444
}
4545
public protocol ScreenPreventerRootViewResolving {
46-
#if compiler(>=5.3) && $NonescapableTypes
46+
#if true
4747
func resolveRootView() -> UIKit.UIView?
4848
#endif
4949
}
@@ -56,16 +56,16 @@ public enum ScreenPreventerMode : Swift.Equatable {
5656
}
5757
public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
5858
public var window: UIKit.UIWindow?
59-
#if compiler(>=5.3) && $NonescapableTypes
59+
#if true
6060
public init(window: UIKit.UIWindow? = nil)
6161
#endif
62-
#if compiler(>=5.3) && $NonescapableTypes
62+
#if true
6363
public static func initial(with view: UIKit.UIView?)
6464
#endif
65-
#if compiler(>=5.3) && $NonescapableTypes
65+
#if true
6666
public func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
6767
#endif
68-
#if compiler(>=5.3) && $NonescapableTypes
68+
#if true
6969
public func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
7070
#endif
7171
public func enablePreventScreenshot()
@@ -77,7 +77,7 @@ public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
7777
public func disableColorScreen()
7878
public func enabledImageScreen(named: Swift.String)
7979
public func disableImageScreen()
80-
#if compiler(>=5.3) && $NonescapableTypes
80+
#if true
8181
public func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
8282
#endif
8383
public func removeScreenshotObserver()

Frameworks/ScreenPreventerKit.xcframework/ios-arm64_x86_64-simulator/ScreenPreventerKit.framework/Modules/ScreenPreventerKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public protocol ScreenPreventable {
1919
func removeAllObserver()
2020
func removeScreenRecordObserver()
2121
func removeScreenshotObserver()
22-
#if compiler(>=5.3) && $NonescapableTypes
22+
#if true
2323
func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
2424
#endif
2525
func disableImageScreen()
@@ -31,10 +31,10 @@ public protocol ScreenPreventable {
3131
func disablePreventScreenRecording()
3232
func disablePreventScreenshot()
3333
func enablePreventScreenshot()
34-
#if compiler(>=5.3) && $NonescapableTypes
34+
#if true
3535
func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
3636
#endif
37-
#if compiler(>=5.3) && $NonescapableTypes
37+
#if true
3838
func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
3939
#endif
4040
func enabledBlurScreen()
@@ -43,7 +43,7 @@ public protocol ScreenPreventable {
4343
func setRootViewResolver(_ resolver: any ScreenPreventerKit.ScreenPreventerRootViewResolving)
4444
}
4545
public protocol ScreenPreventerRootViewResolving {
46-
#if compiler(>=5.3) && $NonescapableTypes
46+
#if true
4747
func resolveRootView() -> UIKit.UIView?
4848
#endif
4949
}
@@ -56,16 +56,16 @@ public enum ScreenPreventerMode : Swift.Equatable {
5656
}
5757
public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
5858
public var window: UIKit.UIWindow?
59-
#if compiler(>=5.3) && $NonescapableTypes
59+
#if true
6060
public init(window: UIKit.UIWindow? = nil)
6161
#endif
62-
#if compiler(>=5.3) && $NonescapableTypes
62+
#if true
6363
public static func initial(with view: UIKit.UIView?)
6464
#endif
65-
#if compiler(>=5.3) && $NonescapableTypes
65+
#if true
6666
public func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
6767
#endif
68-
#if compiler(>=5.3) && $NonescapableTypes
68+
#if true
6969
public func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
7070
#endif
7171
public func enablePreventScreenshot()
@@ -77,7 +77,7 @@ public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
7777
public func disableColorScreen()
7878
public func enabledImageScreen(named: Swift.String)
7979
public func disableImageScreen()
80-
#if compiler(>=5.3) && $NonescapableTypes
80+
#if true
8181
public func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
8282
#endif
8383
public func removeScreenshotObserver()

Frameworks/ScreenPreventerKit.xcframework/ios-arm64_x86_64-simulator/ScreenPreventerKit.framework/Modules/ScreenPreventerKit.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public protocol ScreenPreventable {
1919
func removeAllObserver()
2020
func removeScreenRecordObserver()
2121
func removeScreenshotObserver()
22-
#if compiler(>=5.3) && $NonescapableTypes
22+
#if true
2323
func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
2424
#endif
2525
func disableImageScreen()
@@ -31,10 +31,10 @@ public protocol ScreenPreventable {
3131
func disablePreventScreenRecording()
3232
func disablePreventScreenshot()
3333
func enablePreventScreenshot()
34-
#if compiler(>=5.3) && $NonescapableTypes
34+
#if true
3535
func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
3636
#endif
37-
#if compiler(>=5.3) && $NonescapableTypes
37+
#if true
3838
func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
3939
#endif
4040
func enabledBlurScreen()
@@ -43,7 +43,7 @@ public protocol ScreenPreventable {
4343
func setRootViewResolver(_ resolver: any ScreenPreventerKit.ScreenPreventerRootViewResolving)
4444
}
4545
public protocol ScreenPreventerRootViewResolving {
46-
#if compiler(>=5.3) && $NonescapableTypes
46+
#if true
4747
func resolveRootView() -> UIKit.UIView?
4848
#endif
4949
}
@@ -56,16 +56,16 @@ public enum ScreenPreventerMode : Swift.Equatable {
5656
}
5757
public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
5858
public var window: UIKit.UIWindow?
59-
#if compiler(>=5.3) && $NonescapableTypes
59+
#if true
6060
public init(window: UIKit.UIWindow? = nil)
6161
#endif
62-
#if compiler(>=5.3) && $NonescapableTypes
62+
#if true
6363
public static func initial(with view: UIKit.UIView?)
6464
#endif
65-
#if compiler(>=5.3) && $NonescapableTypes
65+
#if true
6666
public func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
6767
#endif
68-
#if compiler(>=5.3) && $NonescapableTypes
68+
#if true
6969
public func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
7070
#endif
7171
public func enablePreventScreenshot()
@@ -77,7 +77,7 @@ public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
7777
public func disableColorScreen()
7878
public func enabledImageScreen(named: Swift.String)
7979
public func disableImageScreen()
80-
#if compiler(>=5.3) && $NonescapableTypes
80+
#if true
8181
public func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
8282
#endif
8383
public func removeScreenshotObserver()

Frameworks/ScreenPreventerKit.xcframework/ios-arm64_x86_64-simulator/ScreenPreventerKit.framework/Modules/ScreenPreventerKit.swiftmodule/x86_64-apple-ios-simulator.swiftinterface

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public protocol ScreenPreventable {
1919
func removeAllObserver()
2020
func removeScreenRecordObserver()
2121
func removeScreenshotObserver()
22-
#if compiler(>=5.3) && $NonescapableTypes
22+
#if true
2323
func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
2424
#endif
2525
func disableImageScreen()
@@ -31,10 +31,10 @@ public protocol ScreenPreventable {
3131
func disablePreventScreenRecording()
3232
func disablePreventScreenshot()
3333
func enablePreventScreenshot()
34-
#if compiler(>=5.3) && $NonescapableTypes
34+
#if true
3535
func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
3636
#endif
37-
#if compiler(>=5.3) && $NonescapableTypes
37+
#if true
3838
func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
3939
#endif
4040
func enabledBlurScreen()
@@ -43,7 +43,7 @@ public protocol ScreenPreventable {
4343
func setRootViewResolver(_ resolver: any ScreenPreventerKit.ScreenPreventerRootViewResolving)
4444
}
4545
public protocol ScreenPreventerRootViewResolving {
46-
#if compiler(>=5.3) && $NonescapableTypes
46+
#if true
4747
func resolveRootView() -> UIKit.UIView?
4848
#endif
4949
}
@@ -56,16 +56,16 @@ public enum ScreenPreventerMode : Swift.Equatable {
5656
}
5757
public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
5858
public var window: UIKit.UIWindow?
59-
#if compiler(>=5.3) && $NonescapableTypes
59+
#if true
6060
public init(window: UIKit.UIWindow? = nil)
6161
#endif
62-
#if compiler(>=5.3) && $NonescapableTypes
62+
#if true
6363
public static func initial(with view: UIKit.UIView?)
6464
#endif
65-
#if compiler(>=5.3) && $NonescapableTypes
65+
#if true
6666
public func enabledPreventScreenshot(text: Swift.String?, image: Swift.String?)
6767
#endif
68-
#if compiler(>=5.3) && $NonescapableTypes
68+
#if true
6969
public func enabledPreventScreenRecording(text: Swift.String?, image: Swift.String?)
7070
#endif
7171
public func enablePreventScreenshot()
@@ -77,7 +77,7 @@ public class ScreenPreventer : ScreenPreventerKit.ScreenPreventable {
7777
public func disableColorScreen()
7878
public func enabledImageScreen(named: Swift.String)
7979
public func disableImageScreen()
80-
#if compiler(>=5.3) && $NonescapableTypes
80+
#if true
8181
public func removeObserver(observer: (any ObjectiveC.NSObjectProtocol)?)
8282
#endif
8383
public func removeScreenshotObserver()

0 commit comments

Comments
 (0)