diff options
Diffstat (limited to '')
-rw-r--r-- | Wireguard/ViewControllers/ConnectionsTableViewController.swift | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Wireguard/ViewControllers/ConnectionsTableViewController.swift b/Wireguard/ViewControllers/ConnectionsTableViewController.swift new file mode 100644 index 0000000..38c0955 --- /dev/null +++ b/Wireguard/ViewControllers/ConnectionsTableViewController.swift @@ -0,0 +1,38 @@ +// +// ConnectionsTableViewController.swift +// Wireguard +// +// Created by Jeroen Leenarts on 23-05-18. +// Copyright © 2018 Wireguard. All rights reserved. +// + +import UIKit + +import CoreData +import BNRCoreDataStack + +protocol ConnectionsTableViewControllerDelegate: class { + func addProvider(connectionsTableViewController: ConnectionsTableViewController) + func settings(connectionsTableViewController: ConnectionsTableViewController) + func connect(profile: Profile) + func delete(profile: Profile) +} + +class ConnectionsTableViewController: UITableViewController { + weak var delegate: ConnectionsTableViewControllerDelegate? + + var viewContext: NSManagedObjectContext! + + override func viewDidLoad() { + super.viewDidLoad() + // Do any additional setup after loading the view, typically from a nib. + } + + override func didReceiveMemoryWarning() { + super.didReceiveMemoryWarning() + // Dispose of any resources that can be recreated. + } + +} + +extension ConnectionsTableViewController: Identifyable {} |