From 1ea85ff32e1f0ceeaa76f2f71d1ea27d1e88d671 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Mon, 18 Mar 2019 21:08:41 +0100 Subject: [PATCH] Move shortcuts to separate storyboard --- Passepartout-iOS/en.lproj/Main.storyboard | 30 ++-- .../en.lproj/Organizer.storyboard | 71 +--------- .../en.lproj/Shortcuts.storyboard | 131 ++++++++++++++++++ Passepartout.xcodeproj/project.pbxproj | 12 ++ swiftgen.yml | 1 + 5 files changed, 165 insertions(+), 80 deletions(-) create mode 100644 Passepartout-iOS/en.lproj/Shortcuts.storyboard diff --git a/Passepartout-iOS/en.lproj/Main.storyboard b/Passepartout-iOS/en.lproj/Main.storyboard index e4506154..653bed5f 100644 --- a/Passepartout-iOS/en.lproj/Main.storyboard +++ b/Passepartout-iOS/en.lproj/Main.storyboard @@ -50,7 +50,7 @@ - + @@ -59,7 +59,7 @@ - + @@ -76,7 +76,7 @@ - + @@ -128,7 +128,7 @@ - + @@ -137,7 +137,7 @@ - + @@ -161,7 +161,7 @@ - + @@ -242,7 +242,7 @@ - + @@ -251,7 +251,7 @@ - + @@ -303,7 +303,7 @@ - + @@ -312,7 +312,7 @@ - + @@ -363,7 +363,7 @@ - + @@ -422,7 +422,7 @@ - + @@ -431,7 +431,7 @@ - + @@ -483,7 +483,7 @@ - + @@ -492,7 +492,7 @@ - + diff --git a/Passepartout-iOS/en.lproj/Organizer.storyboard b/Passepartout-iOS/en.lproj/Organizer.storyboard index 92ba923b..1ddbda57 100644 --- a/Passepartout-iOS/en.lproj/Organizer.storyboard +++ b/Passepartout-iOS/en.lproj/Organizer.storyboard @@ -153,57 +153,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -345,7 +294,7 @@ - + @@ -676,21 +625,13 @@ - - + + - - - - - - - - - - + + - + diff --git a/Passepartout-iOS/en.lproj/Shortcuts.storyboard b/Passepartout-iOS/en.lproj/Shortcuts.storyboard new file mode 100644 index 00000000..08138a5b --- /dev/null +++ b/Passepartout-iOS/en.lproj/Shortcuts.storyboard @@ -0,0 +1,131 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Passepartout.xcodeproj/project.pbxproj b/Passepartout.xcodeproj/project.pbxproj index 5be7b9b3..918bd062 100644 --- a/Passepartout.xcodeproj/project.pbxproj +++ b/Passepartout.xcodeproj/project.pbxproj @@ -61,6 +61,7 @@ 0E3152DE223FA06400F61841 /* Web in Resources */ = {isa = PBXBuildFile; fileRef = 0E0EABC721DF853C0069DAE7 /* Web */; }; 0E3152DF223FA1DD00F61841 /* ConnectionService.json in Resources */ = {isa = PBXBuildFile; fileRef = 0EBBE8F121822B4D00106008 /* ConnectionService.json */; }; 0E36D24D2240234B006AF062 /* ShortcutsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E36D24C2240234B006AF062 /* ShortcutsViewController.swift */; }; + 0E36D25822403469006AF062 /* Shortcuts.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0E36D25A22403469006AF062 /* Shortcuts.storyboard */; }; 0E3DA371215CB5BF00B40FC9 /* VersionViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E3DA370215CB5BF00B40FC9 /* VersionViewController.swift */; }; 0E4C9CBB20DCF0D600A0C59C /* DestructiveTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E4C9CBA20DCF0D600A0C59C /* DestructiveTableViewCell.swift */; }; 0E4FD7F120D58618002221FF /* Macros.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E4FD7F020D58618002221FF /* Macros.swift */; }; @@ -174,6 +175,7 @@ 0E3152A3223F9EF500F61841 /* Passepartout-CoreTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "Passepartout-CoreTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 0E3152AC223F9EF500F61841 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 0E36D24C2240234B006AF062 /* ShortcutsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ShortcutsViewController.swift; sourceTree = ""; }; + 0E36D25922403469006AF062 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/Shortcuts.storyboard; sourceTree = ""; }; 0E39BCEF214B9EF10035E9DE /* WebServices.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WebServices.swift; sourceTree = ""; }; 0E39BCF2214DA9310035E9DE /* AppConstants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppConstants.swift; sourceTree = ""; }; 0E3DA370215CB5BF00B40FC9 /* VersionViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VersionViewController.swift; sourceTree = ""; }; @@ -393,6 +395,7 @@ 0E57F63B20C83FC5008323CF /* AppDelegate.swift */, 0E57F63F20C83FC5008323CF /* Main.storyboard */, 0ED38ADC213F44D00004D387 /* Organizer.storyboard */, + 0E36D25A22403469006AF062 /* Shortcuts.storyboard */, 0E57F64220C83FC7008323CF /* Assets.xcassets */, 0E57F64420C83FC7008323CF /* LaunchScreen.storyboard */, 0E57F64720C83FC7008323CF /* Info.plist */, @@ -759,6 +762,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 0E36D25822403469006AF062 /* Shortcuts.storyboard in Resources */, 0ED38ADA213F44D00004D387 /* Organizer.storyboard in Resources */, 0E57F64620C83FC7008323CF /* LaunchScreen.storyboard in Resources */, 0E57F64320C83FC7008323CF /* Assets.xcassets in Resources */, @@ -1054,6 +1058,14 @@ name = Localizable.strings; sourceTree = ""; }; + 0E36D25A22403469006AF062 /* Shortcuts.storyboard */ = { + isa = PBXVariantGroup; + children = ( + 0E36D25922403469006AF062 /* en */, + ); + name = Shortcuts.storyboard; + sourceTree = ""; + }; 0E57F63F20C83FC5008323CF /* Main.storyboard */ = { isa = PBXVariantGroup; children = ( diff --git a/swiftgen.yml b/swiftgen.yml index bfff91d1..9a88bb83 100644 --- a/swiftgen.yml +++ b/swiftgen.yml @@ -11,6 +11,7 @@ ib: inputs: - Passepartout-iOS/en.lproj/Main.storyboard - Passepartout-iOS/en.lproj/Organizer.storyboard + - Passepartout-iOS/en.lproj/Shortcuts.storyboard outputs: - templateName: scenes-swift4 output: Passepartout-iOS/Global/SwiftGen+Scenes.swift