-
Notifications
You must be signed in to change notification settings - Fork 0
[Design #137(2) - FeedView UI 구현 #165
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
Conversation
There was a problem hiding this 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()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W2
머지할 때 수정할꺼죵~?~?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
자꾸 까먹네영 ! 넹!!
| 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 | ||
| } | ||
| } | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W2
여기 주석이 이상해져버렸다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그러네,,, 고쳐놓을게여!
|
|
||
| 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 | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W3
요걸 반영해서 font 적용을 위한 UILabel+의 메서드도 곧 수정해서 다시 PR 올리겠삼 . .
| let dummyFeedImage = "https://d2ur3228349jyd.cloudfront.net/assets/img/common/characters/kuromi.png" | ||
| let dummyFeedData = [TotalFeeds(userId: 123, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W3
요렇게 전역변수로 선언되어 있는건 나중에 더미 레포지토리 만들면 꼭 수정해주세용~~ 또는 구조체에 static let으로 선언해도 될 듯 !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
조언 감사합니다 !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W1
실행했을 때 좋아요 버튼과 댓글 버튼의 색이 달라서 살펴봤더니, 옜날 좋아요 이미지 같아요!
지금 좋아요 버튼과 댓글 버튼은 둘다 가로세로 20이고, gray200 색으로 되어있어서, 디자인 시스템에서 다시 들고와야 할 것 같아요!
⭐️Issue
close #137
🌟Motivation
FeedView UI 를 구현하였습니다.
네트워크 연결 + ViewModel 를 통한 Action 추가 + 무한스크롤 + UI 부분 수정
추가 구현해야 합니다 !
🌟Simulation
🌟To Reviewer
깃 컨플릿 때문에 재PR 올립니둥 ,, 💖
첫 번째 PR