-
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.
Merge remote-tracking branch 'origin/main' into feat/#3-상세보기뷰
- Loading branch information
Showing
21 changed files
with
151 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
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
+2.12 KB
(100%)
...eproj/project.xcworkspace/xcuserdata/jeongkite.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
23 changes: 23 additions & 0 deletions
23
Oliveyoung-iOS/Oliveyoung-iOS/Resource/Assets/Assets.xcassets/back.imageset/Contents.json
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,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "back.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"filename" : "[email protected]", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+368 Bytes
...young-iOS/Oliveyoung-iOS/Resource/Assets/Assets.xcassets/back.imageset/back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+537 Bytes
...ng-iOS/Oliveyoung-iOS/Resource/Assets/Assets.xcassets/back.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+765 Bytes
...ng-iOS/Oliveyoung-iOS/Resource/Assets/Assets.xcassets/back.imageset/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.57 MB
Oliveyoung-iOS/Oliveyoung-iOS/Resource/Fonts/Pretendard-ExtraBold.otf
Binary file not shown.
Binary file added
BIN
+1.56 MB
Oliveyoung-iOS/Oliveyoung-iOS/Resource/Fonts/Pretendard-ExtraLight.otf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
35 changes: 35 additions & 0 deletions
35
Oliveyoung-iOS/Oliveyoung-iOS/Source/Common/Extensions/UIViewController+.swift
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,35 @@ | ||
// | ||
// UIViewController+.swift | ||
// Oliveyoung-iOS | ||
// | ||
// Created by 양정연 on 2022/11/21. | ||
// | ||
|
||
import Foundation | ||
import SwiftUI | ||
|
||
/// SwiftUI를 이용한 프리뷰 표시 | ||
#if DEBUG | ||
extension UIViewController { | ||
private struct Preview: UIViewControllerRepresentable { | ||
let viewController: UIViewController | ||
|
||
func makeUIViewController(context: Context) -> UIViewController { | ||
return viewController | ||
} | ||
|
||
func updateUIViewController(_ uiViewController: UIViewController, context: Context) { | ||
} | ||
} | ||
|
||
func toPreview() -> some View { | ||
Preview(viewController: self) | ||
} | ||
} | ||
#endif | ||
// 아래 코드를 원하는 뷰컨 맨 아래에 넣고 swiftUI 임포트해주기 | ||
//struct ViewControllerPreView:PreviewProvider { | ||
// static var previews: some View { | ||
// 뷰컨 이름().toPreview() | ||
// } | ||
//} |