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

[Feat] #24 - 보관함 뷰 레이아웃 구현 #37

Merged
merged 13 commits into from
Jan 13, 2022

Conversation

L-j-h-c
Copy link
Member

@L-j-h-c L-j-h-c commented Jan 12, 2022

🌴 PR 요약

🌱 작업한 브랜치

🌱 작업한 내용

  • 보관함 레이아웃 구현
  • Carousel Layout 생성 및 레이아웃 구현
  • DoingStorageCVC 생성 및 레이아웃 구현
  • DoneStorageCVC 생성 및 레이아웃 구현
  • FailStorageCVC 생성 및 레이아웃 구현
  • 더미데이터 추가
  • 무한스크롤 로직 연결

📸 스크린샷

기능 스크린샷
GIF Simulator Screen Recording - iPhone 11 Pro - 2022-01-13 at 07 20 28

📮 관련 이슈

  • 추후 구현할 사항

    • 더미데이터 추가
    • CVC별로 케이스 나누기
    • 무한스크롤 로직 연결

@L-j-h-c L-j-h-c added Feat 새로운 기능 구현 🧚‍♀️Devil『쥬노』 뀨의 의지 공식후계자입니다 아몰랑 labels Jan 12, 2022
@L-j-h-c L-j-h-c self-assigned this Jan 12, 2022
Copy link
Member

@yangsubinn yangsubinn left a comment

Choose a reason for hiding this comment

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

🙆‍♀️🙇‍♀️


class DoingStorageCVC: UICollectionViewCell {

@IBOutlet weak var gradationUIView: UIView!
Copy link
Member

Choose a reason for hiding this comment

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

나중에 여유가 된다면 마크 주석 추가해주세여!

// MARK: - Properties
// MARK: - @IBOutlet Properties
// MARK: - @IBAction Properties
// MARK: - View Life Cycle
// MARK: - Methods > setUI, registerXib, assignDelegate 등
// MARK: - @objc Function
// MARK: - Network > 네트워크 목적을 가진 함수들

Copy link
Member Author

Choose a reason for hiding this comment

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

그...여유가되면...알게습니다...

}
}

extension UIView{
Copy link
Member

Choose a reason for hiding this comment

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

UIVIew+ 익스텐션에 넣어도 좋을 것 같어여

Copy link
Member Author

Choose a reason for hiding this comment

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

옮겨놨어여~~

// TODO: 컬렉션뷰 위치 스냅킷으로 잡아주기.

// MARK: 버튼 레이아웃 설정
func setButtons() {
Copy link
Member

Choose a reason for hiding this comment

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

setUI()setLayout()으로 분리해주면 좋을 것 같아요!

Copy link
Member Author

Choose a reason for hiding this comment

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

넵 수정하겠슴당!

Comment on lines +67 to +68
addSubviews(doingButton, doneButton, failButton, DoingCV, DoneCV, FailCV)
addSubviews(upperLabel, lowerLabel, doingLabel, doneLabel, failLabel)
Copy link
Member

Choose a reason for hiding this comment

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

addSubviews는 setLayout()에 레이아웃 잡는 코드와 함께 있는건 어떨까여?

Copy link
Member Author

Choose a reason for hiding this comment

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

넵넵 수정하겠습니다~~

Comment on lines +192 to +197
DoingCV.isHidden = true
DoneCV.isHidden = false
FailCV.isHidden = true
doingButton.isSelected = false
doneButton.isSelected = true
failButton.isSelected = false
Copy link
Member

Choose a reason for hiding this comment

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

코드를 쪼금 줄이려면 forEach를 사용하는 것도 좋을 것 같아요!

Copy link
Member Author

Choose a reason for hiding this comment

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

메모해놓을게용 ㅎㅎ 감사합니다!

Comment on lines +227 to +231
func addSubviews(_ views: UIView...) {
for view in views {
self.view.addSubview(view)
}
}
Copy link
Member

Choose a reason for hiding this comment

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

UIView+extension 에 넣어뒀습니다!

Copy link
Member Author

Choose a reason for hiding this comment

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

옮기겠습니다!

@L-j-h-c L-j-h-c merged commit ae8e117 into TeamSparker:develop Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧚‍♀️Devil『쥬노』 뀨의 의지 공식후계자입니다 아몰랑 Feat 새로운 기능 구현
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants