-
Notifications
You must be signed in to change notification settings - Fork 2
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] #27 - DMList뼈대 UI구현 #37
base: develop
Are you sure you want to change the base?
[Feat] #27 - DMList뼈대 UI구현 #37
Conversation
Instagram-iOS/Instagram-iOS/Screens/DMList/Cell/DMCollectionViewCell.swift
Outdated
Show resolved
Hide resolved
Instagram-iOS/Instagram-iOS/Screens/DMList/Cell/DMCollectionViewCell.swift
Outdated
Show resolved
Hide resolved
private func register() { | ||
storyCollectionView.register(DMCollectionViewCell.self, forCellWithReuseIdentifier: DMCollectionViewCell.identifier) | ||
} |
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.
p3;
요건 굳이 함수로 안빼도 되고 DMCollectionView 선언한 곳에 넣어도 될 듯 하네요 !!
|
||
private func setLayout() { | ||
|
||
backgroundColor = .white1 |
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.
p1;
요건 setLayout 보다는 setStyle() 에 들어가는게 좋다고 봅니다 !
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 setSearchTextFieldUI() { | ||
|
||
searchTextField.layer.cornerRadius = 10 | ||
searchTextField.backgroundColor = .gray5 | ||
searchTextField.font = .body | ||
// searchTextField.attributedPlaceholder = NSAttributedString(string: "검색", attributes: [NSAttributedString.Key.foregroundColor: UIColor.lightGray]) | ||
|
||
} |
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.
p2;
혹시 요것도 textField 선언부가 아니고 함수로 빼 둔 이유가 있을까요 ??
따로 이유가 없다면 선언부에 넣으셔도 좋을 것 같아요 !!
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.
반영했습니당!
override func setStyle() { | ||
|
||
} |
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.
p2;
사용하지 않는다면 지워주십쇼 !!
(hoxy baseView의 setStyle에 backgroundcolor 이런거 없앨라고 비운 채로 선언해두신...걸까요..?)
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.
고생하셨습니다 !!
몇 가지 수정사항 보여서 적어뒀어요 :)
이제 슬슬 api 도 연결 해보자구요 ~~
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.
수고하셨습네다!
📱 Screenshot
👩💻 Contents
DMList의 뼈대 UI구현했습니다!
📣 Related Issue