From 1e312c4172a609c6d64f59d2f4bb41f54184efda Mon Sep 17 00:00:00 2001 From: Kristaps Grinbergs Date: Sat, 1 Aug 2020 22:25:19 +0300 Subject: [PATCH 1/2] Dynamic type for info view --- .../xcschemes/xcschememanagement.plist | 25 +++++++++++++++++-- MeteoLV/Core/Extensions.swift | 2 +- .../Storyboards/Base.lproj/Main.storyboard | 20 +++++++-------- 3 files changed, 34 insertions(+), 13 deletions(-) diff --git a/MeteoLV.xcodeproj/xcuserdata/kristaps.xcuserdatad/xcschemes/xcschememanagement.plist b/MeteoLV.xcodeproj/xcuserdata/kristaps.xcuserdatad/xcschemes/xcschememanagement.plist index d43e8cc..44e2d1c 100644 --- a/MeteoLV.xcodeproj/xcuserdata/kristaps.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/MeteoLV.xcodeproj/xcuserdata/kristaps.xcuserdatad/xcschemes/xcschememanagement.plist @@ -9,15 +9,36 @@ orderHint 0 + MeteoLVProvider (Playground) 1.xcscheme + + isShown + + orderHint + 4 + + MeteoLVProvider (Playground) 2.xcscheme + + isShown + + orderHint + 5 + + MeteoLVProvider (Playground).xcscheme + + isShown + + orderHint + 3 + MeteoLVShare.xcscheme_^#shared#^_ orderHint - 2 + 1 MeteoLVTodayNotification.xcscheme_^#shared#^_ orderHint - 1 + 2 SuppressBuildableAutocreation diff --git a/MeteoLV/Core/Extensions.swift b/MeteoLV/Core/Extensions.swift index 9c8b72a..7333519 100644 --- a/MeteoLV/Core/Extensions.swift +++ b/MeteoLV/Core/Extensions.swift @@ -10,6 +10,6 @@ import Foundation extension String { var localized: String { - return NSLocalizedString(self, comment: "") + NSLocalizedString(self, comment: "") } } diff --git a/MeteoLV/Storyboards/Base.lproj/Main.storyboard b/MeteoLV/Storyboards/Base.lproj/Main.storyboard index d1ca19c..b882a5e 100644 --- a/MeteoLV/Storyboards/Base.lproj/Main.storyboard +++ b/MeteoLV/Storyboards/Base.lproj/Main.storyboard @@ -49,11 +49,11 @@ - + - + @@ -162,21 +162,21 @@ - + - +