From 3167674d708bd29138ebd7227d0d54d033cab5b6 Mon Sep 17 00:00:00 2001 From: Zev Eisenberg Date: Mon, 7 Jun 2021 21:17:26 -0400 Subject: [PATCH 1/3] Linting updates. Let Xcode 12.5 update storyboard. --- Example-iOS/DemoStrings.swift | 6 +- Example-iOS/Resources/Main.storyboard | 56 ++++++------ Example-iOS/StyleViewController.swift | 4 +- Sources/StringStyle+Part.swift | 96 ++++++++++----------- Sources/StringStyle.swift | 4 +- Sources/StylisticAlternates.swift | 2 +- Sources/UIKit/TextAlignmentConstraint.swift | 2 +- Tests/AdaptiveStyleTests.swift | 4 +- Tests/AttributedStringStyleTests.swift | 10 +-- Tests/FontInspectorTests.swift | 4 +- 10 files changed, 92 insertions(+), 96 deletions(-) diff --git a/Example-iOS/DemoStrings.swift b/Example-iOS/DemoStrings.swift index 12c4ea26..35a73d8b 100644 --- a/Example-iOS/DemoStrings.swift +++ b/Example-iOS/DemoStrings.swift @@ -9,7 +9,7 @@ import BonMot import UIKit -//swiftlint:disable type_body_length file_length +// swiftlint:disable type_body_length file_length enum DemoStrings { // A Simple Example @@ -434,7 +434,7 @@ enum DemoStrings { }() } -//swiftlint:enable type_body_length +// swiftlint:enable type_body_length extension DemoStrings { @@ -450,4 +450,4 @@ extension DemoStrings { } -//swiftlint:enable file_length +// swiftlint:enable file_length diff --git a/Example-iOS/Resources/Main.storyboard b/Example-iOS/Resources/Main.storyboard index 3a054cce..725529f5 100644 --- a/Example-iOS/Resources/Main.storyboard +++ b/Example-iOS/Resources/Main.storyboard @@ -1,25 +1,21 @@ - - - - + + - - + - + - + - + - @@ -43,10 +39,10 @@ - + - + @@ -68,7 +64,7 @@ -