Skip to content

Conversation

@ena-isme
Copy link
Member

@ena-isme ena-isme commented Jun 3, 2024

⭐️Issue

close #137

🌟Motivation

FeedView UI 를 구현하였습니다.

네트워크 연결 + ViewModel 를 통한 Action 추가 + 무한스크롤 + UI 부분 수정
추가 구현해야 합니다 !

🌟Simulation

Simulator Screen Recording - iPhone 15 Pro - 2024-06-03 at 14 45 19


🌟To Reviewer

깃 컨플릿 때문에 재PR 올립니둥 ,, 💖
첫 번째 PR


@ena-isme ena-isme changed the title [Fix] #137 - FeedView [Design #137(2) - FeedView UI 구현 Jun 3, 2024
Copy link
Contributor

@Naknakk Naknakk left a comment

Choose a reason for hiding this comment

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

이미지 에셋만 바꿔주세요!! 너무 고생했습니다.
드래그해서 피드 필터링 장르가 넘어가는건 괜찮은지 기&디 한테 한번 물어봐도 좋을 것 같아요!

guard let windowScene = (scene as? UIWindowScene) else { return }

let navigationController = UINavigationController(rootViewController: WSSTabBarController())
let navigationController = UINavigationController(rootViewController: FeedViewController())
Copy link
Contributor

Choose a reason for hiding this comment

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

W2
머지할 때 수정할꺼죵~?~?

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 149 to 163
private func novelTitleAttribute(of label: UILabel) {
label.do {
$0.makeAttribute(with: label.text)?
.lineSpacing(spacingPercentage: 140)
.kerning(kerningPixel: -1.2)
.applyAttribute()
$0.font = .HeadLine1
$0.textColor = .White
$0.textAlignment = .center
$0.lineBreakMode = .byTruncatingTail
$0.lineBreakStrategy = .hangulWordPriority
$0.numberOfLines = 3
}
}
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

W2
여기 주석이 이상해져버렸다!

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 +245 to +256

func lineHeightMultiple(_ multiple: CGFloat) -> TextAttributeSet {
let style = NSMutableParagraphStyle()
style.lineHeightMultiple = multiple
self.attributedString.addAttribute(
.paragraphStyle,
value: style,
range: NSRange(location: 0, length: attributedString.length)
)

return self
}
Copy link
Contributor

Choose a reason for hiding this comment

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

W3
요걸 반영해서 font 적용을 위한 UILabel+의 메서드도 곧 수정해서 다시 PR 올리겠삼 . .

Comment on lines +77 to +78
let dummyFeedImage = "https://d2ur3228349jyd.cloudfront.net/assets/img/common/characters/kuromi.png"
let dummyFeedData = [TotalFeeds(userId: 123,
Copy link
Contributor

Choose a reason for hiding this comment

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

W3
요렇게 전역변수로 선언되어 있는건 나중에 더미 레포지토리 만들면 꼭 수정해주세용~~ 또는 구조체에 static let으로 선언해도 될 듯 !

Copy link
Member Author

Choose a reason for hiding this comment

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

조언 감사합니다 !☺️

Copy link
Contributor

Choose a reason for hiding this comment

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

W1
실행했을 때 좋아요 버튼과 댓글 버튼의 색이 달라서 살펴봤더니, 옜날 좋아요 이미지 같아요!
지금 좋아요 버튼과 댓글 버튼은 둘다 가로세로 20이고, gray200 색으로 되어있어서, 디자인 시스템에서 다시 들고와야 할 것 같아요!

@ena-isme ena-isme merged commit 66a67ec into main Jun 8, 2024
@ena-isme ena-isme deleted the Design/#137-2 branch July 18, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Design] Feed View UI 구현

3 participants