From a8f37cfd824c768ed83ac1b67d3347c30a52243f Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Tue, 22 Oct 2019 23:49:45 +0200 Subject: [PATCH] Add item to open configuration file --- Passepartout-iOS/Base.lproj/Organizer.storyboard | 9 +++++++-- .../Scenes/Organizer/ImportedHostsViewController.swift | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Passepartout-iOS/Base.lproj/Organizer.storyboard b/Passepartout-iOS/Base.lproj/Organizer.storyboard index 4120f196..eb1941a3 100644 --- a/Passepartout-iOS/Base.lproj/Organizer.storyboard +++ b/Passepartout-iOS/Base.lproj/Organizer.storyboard @@ -1,9 +1,9 @@ - + - + @@ -206,6 +206,11 @@ + + + + + diff --git a/Passepartout-iOS/Scenes/Organizer/ImportedHostsViewController.swift b/Passepartout-iOS/Scenes/Organizer/ImportedHostsViewController.swift index bfd85f4c..03e8e553 100644 --- a/Passepartout-iOS/Scenes/Organizer/ImportedHostsViewController.swift +++ b/Passepartout-iOS/Scenes/Organizer/ImportedHostsViewController.swift @@ -70,6 +70,10 @@ class ImportedHostsViewController: UITableViewController { // MARK: Actions + @IBAction private func openConfigurationFile() { + // TODO: open document picker + } + override func shouldPerformSegue(withIdentifier identifier: String, sender: Any?) -> Bool { // segue parses configuration file if not yet