-
Notifications
You must be signed in to change notification settings - Fork 0
๐::MainMissionView UI ์์ฑ #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
Asset ํ์ผ ์ถ๊ฐ
Asset ํ์ผ ์์
์คํ ์์
Color DesignSystem ์ถ๊ฐ
LogoNavigationBar ์ถ๊ฐ
MainMissionScrollView ์ถ๊ฐ
MainRankingView ์ถ๊ฐ
Color extension ์ถ๊ฐ
StudentMainView UI ์์ฑ
App/Sources/DesignSystem/Extensions/View/MainMissionScrollView.swift
Outdated
Show resolved
Hide resolved
StudentMainModel ์์ฑ
StudentMainModelProtocol ์์ฑ
StudentMainView ์ฝ๋ ์์
๋ถํ์ ํ์ผ ์ญ์
StudentMainIntent ํ์ผ ์์ฑ
โฆowledge-iOS-v2 into feat/student-main
โฆowledge-iOS-v2 into feat/student-main
AppComponent+Order
Main๊ด๋ จ ํ์ผ ์ญ์
StudentMain DI ์์
StudentMainModel ์์ฑ
์ปจ๋ฒค์ ์ ๋ฐ๋ฅธ ์์ ๋ฐ ๋ช๋ช UI ์ปดํฌ๋ํธํ
SignupListPopupView ์ฝ๋ ์์
App/Sources/Presentation/StudentMain/Source/Scene/StudentMainView.swift
Outdated
Show resolved
Hide resolved
SignupListPopupView ์์น ์์
rankingID ์ถ๊ฐ
rankingID ์ถ๊ฐ
MainMissionScrollView UI ์์
MainMissionScrollView UI ์์
RankingDataList ์ถ๊ฐ
StudentMainView ์ฝ๋ ์์
์ถํ์ ์์ ํ ์ฝ๋ ์ถ๊ฐ
โฆowledge-iOS-v2 into feat/student-main
ํ์ผ ์ด๋ฆ TeacehrTabBar -> TeacherTabBar๋ก ์์
MainRankingScrollView ์ฝ๋ ์์
MainMissionScrollView ์ฝ๋ ์์
StudentMainView ์ฝ๋ ์์
App/Sources/Presentation/TeacherMain/Source/Scene/SignupListPopupView.swift
Outdated
Show resolved
Hide resolved
MainRankingScrollView ํ์์๋ ์ฝ๋ ์์
MainMissionScrollView ํ์์๋ ์ฝ๋ ์์
StudentMainModel ์์
StudentMainModelStateProtocol ์์
StudentMainView ํ์์๋ ์ฝ๋ ์์
SignupListPopupView ํ์์๋ container ์ญ์
StudentMainView ์ฝ๋ ์์
| struct StudentMainView: View { | ||
| @StateObject var studentMainContainer: MVIContainer<StudentMainIntent, StudentMainModelStateProtocol> | ||
|
|
||
| @State private var showPopup = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
View์์ ์ด๋ ๊ฒ ๋ณ์๋ฅผ ๊ด๋ฆฌํ๋ ๊ฑด MVI๋ ๋ง์ง ์๋ ๊ฑฐ ๊ฐ์์.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๊ทธ๋ผ ํน์ ์ ๋ณ์๋ค์ ๋ฐ๋ก ๋นผ๋ด์ผ๋๋๊ฑด๊ฐ์?? ์ ๊ฐ MVI์ ๋ํด ์ ๋ชฐ๋ผ๊ฐ์ง๊ณ ์ฌ์ญค๋ด ๋๋ค~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ ๊ทธ๋ฆฌ๊ณ ์ showPopup์ StudentMainView์๋ค๊ฐ Popup์ ๋์์ผ๋๋์ค ์๊ณ ๋ง๋ค์๋๊ฑฐ๋ผ ์ ๊ฑด ์ง์ฐ๋๋ก ํ๊ฒ ์ต๋๋ค~
| VStack(alignment: .leading) { | ||
| Text("* ๋ฌธ์ ๋ 12:30 ~ 19:30๋ถ๊น์ง ํ์ ์์ต๋๋ค.") | ||
| .skFont(.pr12) | ||
| .frame(maxWidth: .infinity, alignment: .leading) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ด ์ฝ๋๊ฐ ์ผ์ชฝ์ ๋ ฌ์ ์ํ ์ฝ๋๋ผ๋ฉด VStack์์ leading์ ์ค์ ํ์ ์์ ๊ฒ ๊ฐ์๋ฐ ์ญ์ ํ๋ฉด ์ผ์ชฝ ์ ๋ ฌ์ด ์๋๋์? ์๋๋ฉด ๋ค๋ฅธ ์ด์ ๊ฐ ์๋ ๊ฑด๊ฐ์?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์๋จ ๋ค๋ฅธ ์ด์ ๋ ์๊ณ SwiftUI์์ UI ๊ด๋ จํด์ ์ฌ๋ฌ ํ ์คํธ๋ฅผ ํด๋ณด๋ค๊ฐ ์ ๊ฑฐ ํ๋๊ฑธ ๊น๋นกํ๋ ๊ฑฐ ๊ฐ์ต๋๋ค~ ๋ฐ๋ก ์ง์ธ๊ฒ์ฉ
|
|
||
| Text("-") | ||
|
|
||
| Text("") // TeacherMainํ์ด์ง model ์์ฑ ํ ๊ทธ์ ๋ง๋ ๋ฐ์ดํฐ ์ฝ์ ํ์ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Text("") // TeacherMainํ์ด์ง model ์์ฑ ํ ๊ทธ์ ๋ง๋ ๋ฐ์ดํฐ ์ฝ์ ํ์ | |
| Text("") // TeacherMainํ์ด์ง model ์์ฑ ํ ๊ทธ์ ๋ง๋ ๋ฐ์ดํฐ ์ฝ์ ํ์ |
์ฃผ์์ด ์๋๋ฐ ๋ฌด์จ ๋ป์ธ์ง ์ดํด๋ฅผ ๋ชปํ๊ฒ ์ด์...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TeacherMainView์ container๊ฐ ๋ง๋ค์ด์ง๊ณ ๋์ ์ Text์ "" ์๋ฆฌ์ ๊ฑธ๋ง๋ ๊ฑธ ์ฝ์ ํ๋ค๋ ๋ป์ด์์ต๋๋ค!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ ๋ฌํ ์๋ ์๋ค๋ฉด ์ฃผ์์ ์ด๋ค์์ผ๋ก ๋ค๋๊ฒ ์ข์๊น์?? ์๊ฒฌ ์ฌ์ญค๋ณด๊ณ ์ถ์ต๋๋ค~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PopupView๋ container๊ฐ ํ์ ์๋ CustomView ์๋๊ฐ์? TeacherMain์ Model์ด ๋ง๋ค์ด์ ธ์ผ ํ๋ ์ด์ ๊ฐ ๋ญ์ง ๊ถ๊ธํฉ๋๋ค. ์ฝ์ ํ๋ค๋ ๋ง์ด ์กฐ๊ธ ์ ๋งคํ๊ธฐ๋ ํด์ CustomView๋ฉด ""๋ณด๋ค๋ ์์๋ ๋ณ์๋ฅผ ์ ์ธํด์ ๋ฃ์ด๋๋ ํธ์ด ๋ ์ข์ ๊ฒ ๊ฐ์์
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ ๋ ๊ทธ๋ฅ CustomView ๊ฐ๊ฐ๋ง๋ค container๊ฐ ๋ค์ด๊ฐ์ผ๋๋์ค ์์์ต๋๋ค~ ๊ทธ๋ผ ๊ทธ๋ ๊ฒ ์์ ํด์ ๋ค์ ์ฌ๋ฆฌ๊ฒ ์ต๋๋ค~
MainMissionScrollView ์ฝ๋ ๋จ์ถ
StudentMainView ํ์์๋ ์ฝ๋ ์ญ์
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-07-12.at.16.08.22.mp4
์ด ๋์์์ popupView UI ๋์ ์ฅ๋ฉด์ ๋๋ค.