Skip to content

Commit

Permalink
[#69]Add: UserInfoCollectionView Header View 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
Minny27 committed Mar 12, 2024
1 parent 6f19a3b commit 18aba6a
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions Projects/Features/Falling/Src/Subviews/UserInfoHeaderView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
//
// UserInfoHeaderView.swift
// Falling
//
// Created by SeungMin on 3/12/24.
//

import UIKit
import DSKit

final class UserInfoHeaderView: UICollectionReusableView {
let titleLabel: UILabel = {
let label = UILabel()
label.font = UIFont.thtP2Sb
label.textAlignment = .center
label.textColor = DSKitAsset.Color.neutral50.color
return label
}()

override init(frame: CGRect) {
super.init(frame: frame)

makeUI()
}

required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}

func makeUI() {
addSubview(titleLabel)

titleLabel.snp.makeConstraints {
$0.leading.top.equalToSuperview()
}
}
}

0 comments on commit 18aba6a

Please sign in to comment.