-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
grenos
committed
Mar 29, 2020
1 parent
c895c85
commit 80450ed
Showing
4 changed files
with
66 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+801 Bytes
(100%)
...odeproj/project.xcworkspace/xcuserdata/vasilis.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// | ||
// UserInfoVC.swift | ||
// GHFollowers | ||
// | ||
// Created by Vasileios Gkreen on 29/03/2020. | ||
// Copyright © 2020 Vasileios Gkreen. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
class UserInfoVC: UIViewController { | ||
|
||
// username gets passed here from FollowerListVC from function -- extension FollowerListVC: UICollectionViewDelegate -- | ||
var username: String! | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
|
||
view.backgroundColor = .systemBackground | ||
// create done button for navigation | ||
let doneButton = UIBarButtonItem(barButtonSystemItem: .done, target: self, action: #selector(dismissVC)) | ||
// add button to navigation bar | ||
navigationItem.rightBarButtonItem = doneButton | ||
print(username!) | ||
} | ||
|
||
@objc func dismissVC() { | ||
dismiss(animated: true) | ||
} | ||
|
||
|
||
} |