From c8484d4cc180e40d181f3765c7fbfa16e65697d1 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 24 Jan 2021 18:36:40 -0500 Subject: [PATCH] [+] Create family views --- ProjectClock/AccountViewController.swift | 23 +++ ProjectClock/Base.lproj/Main.storyboard | 180 ++++++++++++++++++++++- 2 files changed, 197 insertions(+), 6 deletions(-) diff --git a/ProjectClock/AccountViewController.swift b/ProjectClock/AccountViewController.swift index 26ad71b..7cbbb53 100644 --- a/ProjectClock/AccountViewController.swift +++ b/ProjectClock/AccountViewController.swift @@ -136,6 +136,8 @@ class ManageVC: UIViewController @IBOutlet weak var lUsername: UILabel! @IBOutlet weak var lJoinDate: UILabel! + @IBOutlet weak var lCurrentFamily: UILabel! + /** Called when the user switched to the account tab (whether the view container is hidden or not) */ @@ -177,3 +179,24 @@ class ManageVC: UIViewController } } } + +/** + Family view controller that displays family info or create/join family buttons + */ +class FamilyVC: UIViewController +{ + @IBAction func btnCreate(_ sender: Any) + { + } + + @IBAction func btnJoin(_ sender: Any) + { + } +} + + +class FamilyCreateJoinVC: UIViewController +{ + @IBOutlet weak var lFamilyNameOrId: UILabel! +} + diff --git a/ProjectClock/Base.lproj/Main.storyboard b/ProjectClock/Base.lproj/Main.storyboard index 65a13e3..c221164 100644 --- a/ProjectClock/Base.lproj/Main.storyboard +++ b/ProjectClock/Base.lproj/Main.storyboard @@ -847,7 +847,7 @@ - + @@ -858,13 +858,13 @@ - + - + @@ -896,8 +896,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +