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

BookCover 이미지 연결 #127

Merged
merged 6 commits into from
Dec 3, 2024
Merged

BookCover 이미지 연결 #127

merged 6 commits into from
Dec 3, 2024

Conversation

k2645
Copy link
Collaborator

@k2645 k2645 commented Dec 3, 2024

#️⃣ 연관된 이슈


⏰ 작업 시간

예상 시간 실제 걸린 시간
2 3

📝 작업 내용

  • BookCover Image 타입 Data로 변경
  • BookCover에 이미지 추가 기능 구현
  • BookCover 용 이미지 편집 뷰 구현
  • 홈 화면 북 커버 이미지 연동
  • MHBook Constraints 수정

📸 스크린샷

북커버 생성 북커버 수정

📒 리뷰 노트

기존의 MHBook의 경우 AutoLayout의 Width, Height가 상수로 되어있어, 북 커버 수정뷰에서 보면 사진이 훨씬 작아보이는 이슈가 있었습니다. 따라서 상수보단 Leading과 Trailing을 설정해주는 방식으로 코드를 수정해주었습니다 !

@k2645 k2645 added ✨ Feature 기능 관련 작업 👷‍♂️ Refactor 코드 개선, 가독성 개선, 주석 labels Dec 3, 2024
@k2645 k2645 added this to the 0.5 milestone Dec 3, 2024
@k2645 k2645 self-assigned this Dec 3, 2024
@k2645 k2645 linked an issue Dec 3, 2024 that may be closed by this pull request
Copy link
Collaborator

@Kyxxn Kyxxn left a comment

Choose a reason for hiding this comment

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

고생하셨습니더
코드 일관성이 야물딱지네요

@@ -23,18 +27,29 @@ final class CustomAlbumViewController: UIViewController {
private let input = PassthroughSubject<CustomAlbumViewModel.Input, Never>()
private var cancellables = Set<AnyCancellable>()
private let mediaType: PHAssetMediaType
private let mode: Mode
private let completionHandler: (_ imageData: Data, _ creationDate: Date?, _ caption: String?) -> Void
Copy link
Collaborator

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.

그런가봐용.. 저두 저기에 특정 파라미터 명을 넣고싶었는데 컴파일러가 에러를 띄우더라구요..??

Copy link
Collaborator

@iceHood iceHood left a comment

Choose a reason for hiding this comment

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

역시... 역시... 역시... 역시... 역시...

@k2645 k2645 merged commit cb9aec0 into develop Dec 3, 2024
2 checks passed
@k2645 k2645 deleted the feature/book-cover-image branch December 3, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 관련 작업 👷‍♂️ Refactor 코드 개선, 가독성 개선, 주석
Projects
None yet
Development

Successfully merging this pull request may close these issues.

책 커버 이미지 연동
3 participants