aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/ViewControllers/ProfileConfigurationTableViewController.swift
diff options
context:
space:
mode:
Diffstat (limited to 'WireGuard/ViewControllers/ProfileConfigurationTableViewController.swift')
-rw-r--r--WireGuard/ViewControllers/ProfileConfigurationTableViewController.swift51
1 files changed, 51 insertions, 0 deletions
diff --git a/WireGuard/ViewControllers/ProfileConfigurationTableViewController.swift b/WireGuard/ViewControllers/ProfileConfigurationTableViewController.swift
new file mode 100644
index 0000000..39290d4
--- /dev/null
+++ b/WireGuard/ViewControllers/ProfileConfigurationTableViewController.swift
@@ -0,0 +1,51 @@
+//
+// ProfileConfigurationTableViewController.swift
+// WireGuard
+//
+// Created by Jeroen Leenarts on 24-05-18.
+// Copyright © 2018 Wireguard. All rights reserved.
+//
+
+import UIKit
+import CoreData
+import BNRCoreDataStack
+
+protocol ProfileConfigurationTableViewControllerDelegate: class {
+}
+
+class ProfileConfigurationTableViewController: UITableViewController {
+ var viewContext: NSManagedObjectContext!
+ weak var delegate: ProfileConfigurationTableViewControllerDelegate?
+
+ override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
+ return 3
+ }
+
+ override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
+ switch indexPath.row {
+ case 0:
+ return tableView.dequeueReusableCell(type: InterfaceTableViewCell.self, for: indexPath)
+ case 1:
+ return tableView.dequeueReusableCell(type: PeerTableViewCell.self, for: indexPath)
+ default:
+ return tableView.dequeueReusableCell(type: AddPeerTableViewCell.self, for: indexPath)
+ }
+ }
+}
+
+class InterfaceTableViewCell: UITableViewCell {
+
+}
+
+class PeerTableViewCell: UITableViewCell {
+
+}
+
+class AddPeerTableViewCell: UITableViewCell {
+
+}
+
+extension ProfileConfigurationTableViewController: Identifyable {}
+extension InterfaceTableViewCell: Identifyable {}
+extension PeerTableViewCell: Identifyable {}
+extension AddPeerTableViewCell: Identifyable {}