Skip to content

feat. Segments View 생성 및 구현#6

Merged
Peter1119 merged 1 commit intomainfrom
feature/segment_ui
Sep 16, 2025
Merged

feat. Segments View 생성 및 구현#6
Peter1119 merged 1 commit intomainfrom
feature/segment_ui

Conversation

@Peter1119
Copy link
Contributor

@Peter1119 Peter1119 commented Sep 16, 2025

🔗 관련 이슈

  • 관련 이슈: # 1

✨ 작업 내용

  • Segment Data와 SegmentView 생성해서 binding으로 선택된 것을 string으로 받을 수 있게 했습니다.

📸 Showcase

변경 전 변경 후
이미지 이미지
image

📌 이미지가 없다면 이 섹션은 생략해도 됩니다.


📝 참고 사항

Motivation 🥳 (코드를 추가/변경하게 된 이유)

Key Changes 🔥 (주요 구현/변경 사항)

To Reviewers 🙏 (리뷰어에게 전달하고 싶은 말)

Reference 🔗

Close Issues 🔒 (닫을 Issue)

Close #1

Checklist

  • 브랜치를 가져와 작업한 경우 이전 브랜치에 PR을 보냈는지 확인
  • 빌드를 위해 SceneDelegate 수정한 것 PR로 올리지 않았는지 확인
  • 필요없는 주석, 프린트문 제거했는지 확인
  • 컨벤션 지켰는지 확인
  • final, private 제대로 넣었는지 확인
  • 다양한 디바이스에 레이아웃이 대응되는지 확인
    • iPhone SE
    • iPhone 13
    • iPhone 13 Pro Max

Copy link
Contributor

@Roy-wonji Roy-wonji left a comment

Choose a reason for hiding this comment

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

@Peter1119 수고 하셨습니다


import SwiftUI

public struct SegmentData: Identifiable {
Copy link
Contributor

Choose a reason for hiding this comment

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

@Peter1119 차후에 이건 떼실거죠 ??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Component에 종속된거라 확실히 뗄지는 모르겠습니다 오히려 분리하면 헷갈리지 않을까싶네요

}
}

private struct PreviewSegment: View {
Copy link
Contributor

Choose a reason for hiding this comment

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

@Peter1119 파일을 분리 하는게 어떨까요 ??

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Preview용 객체를요 ???

Copy link
Contributor

@minneee minneee left a comment

Choose a reason for hiding this comment

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

수고하셨습니다~

@Peter1119 Peter1119 merged commit 86ee006 into main Sep 16, 2025
1 check passed
@Peter1119 Peter1119 deleted the feature/segment_ui branch September 16, 2025 11:54
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.

세그먼트 컴포넌트 생성

3 participants