Skip to content

Commit

Permalink
[Feat] CDS-Mobile1#27 - 코드리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
joonBaek12 committed Jun 6, 2023
1 parent 8d51333 commit 4536358
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import SnapKit

final class DMCollectionViewCell: BaseCollectionViewCell {

// MARK: - Property
// MARK: - UI Property

let userProfileView = UserProfileView(usedView: .dm, storyStatus: .none)
Expand All @@ -24,7 +23,6 @@ final class DMCollectionViewCell: BaseCollectionViewCell {
return label
}()


// MARK: - Layout

override func setLayout() {
Expand All @@ -43,11 +41,6 @@ final class DMCollectionViewCell: BaseCollectionViewCell {
}
}

override func setStyle() {

}

// MARK: - Custom Method



}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import UIKit
import SnapKit

final class DMTableViewCellHeader: UITableViewHeaderFooterView {

// MARK: - Property

static let identifier = "DMTableViewCellHeader"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ final class DMTableViewHeader: UIView {
textField.font = .body
//TODO: - 추후 placeholder 세팅 시 추가하겠습니다
// textField.placeholder = "검색"
textField.layer.cornerRadius = 10
return textField
}()

Expand All @@ -52,6 +53,7 @@ final class DMTableViewHeader: UIView {
register()
configDelegate()
setLayout()
setStyle()
setSearchTextFieldUI()
}

Expand All @@ -72,8 +74,6 @@ final class DMTableViewHeader: UIView {

private func setLayout() {

backgroundColor = .white1

addSubview(searchTextField)
searchTextField.snp.makeConstraints {
$0.top.centerX.equalToSuperview().offset(8)
Expand Down Expand Up @@ -103,13 +103,8 @@ final class DMTableViewHeader: UIView {
}
}

private func setSearchTextFieldUI() {

searchTextField.layer.cornerRadius = 10
searchTextField.backgroundColor = .gray5
searchTextField.font = .body
// searchTextField.attributedPlaceholder = NSAttributedString(string: "검색", attributes: [NSAttributedString.Key.foregroundColor: UIColor.lightGray])

private func setStyle() {
backgroundColor = .white1
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import SnapKit

final class DMTableviewCell: BaseTableViewCell {

// MARK: - Property

// MARK: - UI Property

let userProfileView = UserProfileView(usedView: .dm, storyStatus: .none)
Expand Down Expand Up @@ -40,7 +38,6 @@ final class DMTableviewCell: BaseTableViewCell {
return button
}()


// MARK: - Layout

override func setLayout() {
Expand Down Expand Up @@ -70,12 +67,4 @@ final class DMTableviewCell: BaseTableViewCell {
$0.width.height.equalTo(29)
}
}

override func setStyle() {

}

// MARK: - Custom Method


}

0 comments on commit 4536358

Please sign in to comment.