-
Notifications
You must be signed in to change notification settings - Fork 1
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
RecordResultView, RecordDetailView #6
Conversation
Comment: 주석 수정 및 추가
Recorder/RecordDetailView.swift
Outdated
Image("backwindow") | ||
}.padding(.top, 70.0) | ||
Spacer() | ||
} // BackgroundView용 VStack End |
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.
추후 Background 디자인 수정이 있을 가능성을 염두에 두고 Stack을 쉽게 구분하기 위해서 달아놓은 주석입니다. 삭제해도 무방한 주석은 달지 않는 것이 좋을까요?
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.
. 삭제해도 무방한 주석은 달지 않는 것이 좋을까요?
넵 ! 사실 주석없이 바로 이해할 수 있는 코드가 최고예요
네이밍이 필요하다면 해당 부분을 @ViewBuilder 또는 struct로써 별도로 명명하는게 맞다고 생각해요
Recorder/RecordDetailView.swift
Outdated
|
||
struct RecordDetailView: View { | ||
|
||
// let music: Music |
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.
해당 property가 주석처리된 이유가 있을까요 ? 👀
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.
아직 해당 property가 우선 적용되어야하는 앞선 view들이 아직 구현되지 않아, 주석처리 되었습니다. view들을 합치는 과정에서 활성화될예정입니다.
이런 경우에는 주석처리말고 아예 이후에 기록하는 것이 좋을까요?
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.
네 ! 주석은 되도록이면 지양해야 한다고 생각해요 ~
Recorder/RecordDetailView.swift
Outdated
|
||
HStack(alignment: .center) { | ||
|
||
Button(action: {}, // 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.
Button(action: {}, // action 내에 클릭시 모달을 통해 이미지 띄우는 기능 추가 예정 | |
Button(action: {}, // TODO: action 내에 클릭시 모달을 통해 이미지 띄우는 기능 추가 예정 |
// TODO: 는 Xcode안에서 앞으로 해야할일을 작성할 때 사용해요 : )
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.
넵 해당 방식으로 작성하겠습니다
Recorder/RecordResultView.swift
Outdated
Image(systemName: "chevron.backward") | ||
Text("List") | ||
} | ||
) | ||
.foregroundColor(.pointBlue) | ||
, |
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.
Indent를 맞출까요 ? 😢 ...??
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.
Re-Indent 대신 수동으로 줄바꿈 완료했습니다
Comment: 주석 수정
[RecordResultView]
[RecordDetailView]