-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix [#80] 소식 탭 오류 수정 및 배지 구현, 알림 탭 프로필 이동 구현 #91
Conversation
- 프로필 터치 시, 나 또는 상대 프로필로 이동 (인기글 선정 및 안내는 제외) - 폴더링 구분 (Page, Activity, Info)
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.
여러가지 난관이 있으셨다고 알고있는데, 배지 구현하시느라 정말 고생 많으셨습니다!
final class NotificationPageViewModel { | ||
|
||
} |
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.
이 부분은 ViewModelType
을 채택한 부분과 영역을 분리하기 위해 일부러 두신걸까요?!
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.
네 맞습니다만, 현재로서는 필요없어 보이네요.
수정하겠습니다.
segmentedControl.snp.makeConstraints { make in | ||
make.top.equalTo(safeArea) | ||
make.horizontalEdges.equalToSuperview() | ||
make.height.equalTo(48.adjustedH) | ||
} |
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.
저는 보통 make
-> $0
으로 snp을 적용해주는데, $0
으로 진행하게 되면 코드의 의미 전달이 잘 안될까요..??
make
나 $0
둘 중 하나로 통일하는게 더 보기 좋을 것 같아요!!!
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.
아 그렇다면 $0
으로 앞으로 진행하겠습니다.
클로저에서 자동완성으로 코드를 빠르게 작성하려다 보니, 그렇게 되었었네요.
func serialize(_ value: any Encodable) throws -> Data { | ||
try encoder.encode(value) | ||
} | ||
|
||
func deserialize<T: Decodable>(_ type: T.Type, from data: Data) throws -> T { | ||
try decoder.decode(type, from: data) | ||
} |
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.
제가 이해한 바로는 UserDefault에 구조체를 저장할 수 있게끔 만들어주신 것 같은데 맞을 까요?! 너무 고생 많으셨습니다!!👍🏻👍🏻
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.
네 맞습니다.
…o fix/#80 # Conflicts: # Wable-iOS/Presentation/TabBar/WableTabBarItem.swift
👻 PULL REQUEST
🛠️ PR POINT
💡 참고사항
📸 스크린샷
📟 관련 이슈