Skip to content

Commit 3ece86a

Browse files
committed
standardize ios-swift6
1 parent 536988a commit 3ece86a

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

Samples/iOS-Swift6/iOS-Swift6/AppDelegate.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
import Sentry
2-
import SentrySampleShared
31
import UIKit
42

53
@main
64
class AppDelegate: UIResponder, UIApplicationDelegate {
7-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
8-
// SentrySDKWrapper.shared.startSentry()
9-
return true
10-
}
11-
125
// MARK: UISceneSession Lifecycle
13-
146
func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
157
return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
168
}

Samples/iOS-Swift6/iOS-Swift6/SceneDelegate.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ import UIKit
33

44
class SceneDelegate: UIResponder, UIWindowSceneDelegate {
55
var window: UIWindow?
6-
lazy var s = SampleAppDebugMenu()
7-
6+
87
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
98
guard let _ = (scene as? UIWindowScene) else { return }
10-
11-
s.display()
9+
SentrySDKWrapper.shared.startSentry()
1210
}
1311
}

0 commit comments

Comments
 (0)