From 996e9492b55729be453bc0eafef2b35283400c50 Mon Sep 17 00:00:00 2001 From: Okechi Date: Wed, 17 Feb 2016 10:38:38 -0500 Subject: [PATCH] finished navigation for back to party views, will look into making it more optimized later, and connectivity later tonight --- GetHip/InPartyViewController.swift | 5 +++++ GetHip/Main.storyboard | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/GetHip/InPartyViewController.swift b/GetHip/InPartyViewController.swift index 1f1caf5..4dbdc28 100644 --- a/GetHip/InPartyViewController.swift +++ b/GetHip/InPartyViewController.swift @@ -14,6 +14,11 @@ class InPartyViewController: UIViewController, UICollectionViewDataSource, UICol @IBOutlet var AddMore: UIButton! @IBOutlet var leaveOrEnd: UIButton! + @IBAction func dismissFriendView(sender: UIBarButtonItem) { + + self.dismissViewControllerAnimated(true, completion: nil) + } + //Only visible for host @IBAction func inviteMore(sender: UIButton!){ diff --git a/GetHip/Main.storyboard b/GetHip/Main.storyboard index 85ce502..c3f0961 100644 --- a/GetHip/Main.storyboard +++ b/GetHip/Main.storyboard @@ -1028,7 +1028,11 @@ - + + + + +