Skip to content
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

Merged
merged 7 commits into from
Jun 14, 2022
Merged

RecordResultView, RecordDetailView #6

merged 7 commits into from
Jun 14, 2022

Conversation

boskim22
Copy link
Collaborator

[RecordResultView]

  1. NavigationView 를 통한 Menu 및 NavigationLink 추가

[RecordDetailView]

  1. 각 UI 배치 및 Button 기능 추가
  2. MusicInform 관련 UI배치

Image("backwindow")
}.padding(.top, 70.0)
Spacer()
} // BackgroundView용 VStack End

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

주석의 의미와 효용성이 궁금합니다 ~

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

추후 Background 디자인 수정이 있을 가능성을 염두에 두고 Stack을 쉽게 구분하기 위해서 달아놓은 주석입니다. 삭제해도 무방한 주석은 달지 않는 것이 좋을까요?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

. 삭제해도 무방한 주석은 달지 않는 것이 좋을까요?

넵 ! 사실 주석없이 바로 이해할 수 있는 코드가 최고예요
네이밍이 필요하다면 해당 부분을 @ViewBuilder 또는 struct로써 별도로 명명하는게 맞다고 생각해요


struct RecordDetailView: View {

// let music: Music

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

해당 property가 주석처리된 이유가 있을까요 ? 👀

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아직 해당 property가 우선 적용되어야하는 앞선 view들이 아직 구현되지 않아, 주석처리 되었습니다. view들을 합치는 과정에서 활성화될예정입니다.

이런 경우에는 주석처리말고 아예 이후에 기록하는 것이 좋을까요?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

네 ! 주석은 되도록이면 지양해야 한다고 생각해요 ~


HStack(alignment: .center) {

Button(action: {}, // action 내에 클릭시 모달을 통해 이미지 띄우는 기능 추가 예정

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Button(action: {}, // action 내에 클릭시 모달을 통해 이미지 띄우는 기능 추가 예정
Button(action: {}, // TODO: action 내에 클릭시 모달을 통해 이미지 띄우는 기능 추가 예정

// TODO: 는 Xcode안에서 앞으로 해야할일을 작성할 때 사용해요 : )

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

넵 해당 방식으로 작성하겠습니다

Comment on lines 20 to 25
Image(systemName: "chevron.backward")
Text("List")
}
)
.foregroundColor(.pointBlue)
,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indent를 맞출까요 ? 😢 ...??

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-Indent 대신 수동으로 줄바꿈 완료했습니다

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants