Skip to content

Commit

Permalink
๐ŸŽจ :: ์ฝ”๋“œ Formatting ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
youn9k committed Aug 31, 2024
1 parent 946998a commit 95821e2
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,36 +172,35 @@ private extension PlayTypeTogglePopupItemButtonView {
$0.backgroundColor = .white
$0.clipsToBounds = true
}

let button = UIButton()

init() {
super.init(frame: .zero)
addViews()
setLayout()
}

@available(*, unavailable)
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}

func addViews() {
addSubviews(titleLabel, button)
}

func setLayout() {
titleLabel.snp.makeConstraints {
$0.width.equalTo(55)
$0.height.equalTo(24)
$0.trailing.equalToSuperview().inset(20)
$0.centerY.equalToSuperview()
}

button.snp.makeConstraints {
$0.edges.equalToSuperview()
}
}
}
}

}

0 comments on commit 95821e2

Please sign in to comment.