DailHeaderView.swift
596 Bytes
//
// DailHeaderView.swift
// HDFwear
//
// Created by yangbin on 2022/3/12.
//
import UIKit
class DailHeaderView: UICollectionReusableView {
@IBOutlet weak var moreButton: UIButton!
@IBOutlet weak var titleLabel: UILabel!
var moreBtnBlock : (()->())?
override func awakeFromNib() {
super.awakeFromNib()
moreButton.setTitle(" \(LocString("更多")) › ", for: .normal)
// Initialization code
}
@IBAction func didClickMoreBtn(_ sender: Any) {
if let _ = moreBtnBlock {
moreBtnBlock!()
}
}
}