diff options
author | Roopesh Chander <roop@roopc.net> | 2018-10-20 19:15:53 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2018-10-27 15:13:01 +0530 |
commit | 911b16d54e7dbd432d3f7dcb7f8b78bda21f84cf (patch) | |
tree | 5108650e57daa192c8f04044ad4d0ba567b4c6ab /WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift | |
parent | Model: Make InterfaceConfiguration and PeerConfiguration structs (diff) | |
download | wireguard-apple-911b16d54e7dbd432d3f7dcb7f8b78bda21f84cf.tar.xz wireguard-apple-911b16d54e7dbd432d3f7dcb7f8b78bda21f84cf.zip |
Tunnel creation: Start off with tunnel creation
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift index f9c7ff4..d58da27 100644 --- a/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift +++ b/WireGuard/WireGuard/UI/iOS/TunnelsListTableViewController.swift @@ -41,7 +41,11 @@ class TunnelsListTableViewController: UITableViewController { preferredStyle: .actionSheet) alert.addAction( UIAlertAction(title: "Create from scratch", style: .default) { (action) in - print("Write") + let editVC = TunnelEditTableViewController() + let editNC = UINavigationController(rootViewController: editVC) + self.present(editNC, animated: true) { + print("Done") + } } ) alert.addAction( |