-
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
Showing
6 changed files
with
179 additions
and
12 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
+14.9 KB
(140%)
...odeproj/project.xcworkspace/xcuserdata/jinhyuk.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// | ||
// ContactsNavigationController.swift | ||
// Ringo | ||
// | ||
// Created by 강진혁 on 2/1/24. | ||
// | ||
|
||
import UIKit | ||
|
||
class ContactsNavigationController: UINavigationController { | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
|
||
setViewControllers([ContactsViewController()], animated: true) | ||
// Do any additional setup after loading the view. | ||
} | ||
/* | ||
// MARK: - Navigation | ||
|
||
// In a storyboard-based application, you will often want to do a little preparation before navigation | ||
override func prepare(for segue: UIStoryboardSegue, sender: Any?) { | ||
// Get the new view controller using segue.destination. | ||
// Pass the selected object to the new view controller. | ||
} | ||
*/ | ||
|
||
} | ||
// canvas 이용하기 | ||
import SwiftUI | ||
|
||
struct ContactsNavigationControllerRepresentable: UIViewControllerRepresentable { | ||
func makeUIViewController(context: Context) -> ContactsNavigationController { | ||
return ContactsNavigationController() | ||
} | ||
|
||
func updateUIViewController(_ uiViewController: ContactsNavigationController, context: Context) { | ||
} | ||
|
||
typealias UIViewControllerType = ContactsNavigationController | ||
|
||
} | ||
@available(iOS 13.0.0, *) | ||
struct ContactsNavigationViewPreview: PreviewProvider { | ||
static var previews: some View { | ||
ContactsNavigationControllerRepresentable().edgesIgnoringSafeArea(.all) | ||
} | ||
} |
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,33 @@ | ||
// | ||
// FriendRequestViewController.swift | ||
// Ringo | ||
// | ||
// Created by 강진혁 on 2/2/24. | ||
// | ||
|
||
import UIKit | ||
|
||
class FriendRequestViewController: UIViewController { | ||
|
||
override func viewDidLoad() { | ||
super.viewDidLoad() | ||
|
||
view.backgroundColor = .brown | ||
|
||
self.navigationItem.title = "Request Friend" | ||
self.navigationItem.largeTitleDisplayMode = .never | ||
// Do any additional setup after loading the view. | ||
} | ||
|
||
|
||
/* | ||
// MARK: - Navigation | ||
|
||
// In a storyboard-based application, you will often want to do a little preparation before navigation | ||
override func prepare(for segue: UIStoryboardSegue, sender: Any?) { | ||
// Get the new view controller using segue.destination. | ||
// Pass the selected object to the new view controller. | ||
} | ||
*/ | ||
|
||
} |
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