-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CAT-192] 홈 기본 UI 구성 #26
Conversation
c5a06e3
to
3ffc552
Compare
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.
휠피커 구현 부분 잘봤슴니다... 고생 많았어 !!!
extension View { | ||
public func onLoad(perform action: (() -> Void)? = nil) -> some View { | ||
modifier(ViewDidLoadModifier(perform: action)) | ||
} | ||
} | ||
|
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.
요것은 어떤 역할을 하는거야 ?? onAppear과 다르게 onLoad를 둔 이유 ? ?
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.
아 코드 보면 알겠지만 viewDidLoad와 같은 역할을 하려고 만든거야
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.
Core에서 didLoad 플래그를 둬도 되긴 하는데 매번 해주는게 불편해서
어떤 것을 작업하셨나요? 🛠
🌱 PR Point
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-08-16.at.08.33.09.mp4