From 95633fd812cfc390a8d3ec86ee91f6fa5381331f Mon Sep 17 00:00:00 2001 From: Kyle Van Essen Date: Mon, 30 Mar 2020 17:55:02 -0700 Subject: [PATCH] Code review fixes --- BlueprintUICommonControls/Tests/ScrollViewTests.swift | 7 +------ SampleApp/Sources/AppDelegate.swift | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/BlueprintUICommonControls/Tests/ScrollViewTests.swift b/BlueprintUICommonControls/Tests/ScrollViewTests.swift index 149b051c9..917f888ec 100644 --- a/BlueprintUICommonControls/Tests/ScrollViewTests.swift +++ b/BlueprintUICommonControls/Tests/ScrollViewTests.swift @@ -15,12 +15,7 @@ import BlueprintUI class ScrollViewTests : XCTestCase { - func test_contentInset() { - - let view = BlueprintView() - } - - func test_finalContentInset() + func test_calculateContentInset() { // No inset diff --git a/SampleApp/Sources/AppDelegate.swift b/SampleApp/Sources/AppDelegate.swift index 3334af057..b86166126 100644 --- a/SampleApp/Sources/AppDelegate.swift +++ b/SampleApp/Sources/AppDelegate.swift @@ -8,7 +8,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { window = UIWindow(frame: UIScreen.main.bounds) - window?.rootViewController = ScrollViewKeyboardViewController() + window?.rootViewController = ViewController() window?.makeKeyAndVisible() return true