Skip to content

Commit

Permalink
feat: ✨ IssueTableFooterView 구현 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
zekexros committed Jun 11, 2021
1 parent d8145e3 commit 5c87910
Showing 1 changed file with 41 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
//
// IssueTableFooterView.swift
// issue-tracker
//
// Created by 양준혁 on 2021/06/10.
//

import UIKit
import SnapKit

class IssueTableFooterView: UIView {

var label: UILabel = {
var label = UILabel()
label.text = "아래로 당기면 검색바가 보여요!👀"
label.textColor = .lightGray
return label
}()

override init(frame: CGRect) {
super.init(frame: frame)
backgroundColor = #colorLiteral(red: 0.9489405751, green: 0.9490727782, blue: 0.9685038924, alpha: 1)
addSubview(label)
setAutolayout()
}

required init?(coder: NSCoder) {
super.init(coder: coder)
backgroundColor = #colorLiteral(red: 0.9489405751, green: 0.9490727782, blue: 0.9685038924, alpha: 1)
addSubview(label)
setAutolayout()
}

func setAutolayout() {
label.snp.makeConstraints { label in
label.centerX.equalToSuperview()
label.top.equalTo(39)
}
}

}

0 comments on commit 5c87910

Please sign in to comment.