Music_Player3/MusicPlayer/MP/MPSideA/Views/Center(个人资源)/MPSideA_SettingTableViewCell.swift
2024-05-11 09:48:37 +08:00

31 lines
695 B
Swift

//
// SettingTableViewCell.swift
// MusicPlayer
//
// Created by Mr.Zhou on 2024/4/10.
//
import UIKit
class MPSideA_SettingTableViewCell: UITableViewCell {
@IBOutlet weak var iconImageView: UIImageView!
@IBOutlet weak var titleLabel: UILabel!
var title:String!{
didSet{
iconImageView.image = UIImage(named: title)
titleLabel.text = title
}
}
override func awakeFromNib() {
super.awakeFromNib()
selectionStyle = .none
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}