Music_Player3/relax.offline.mp3.music/MP/MPSideA/Views/Center(个人资源)/MPSideA_SettingTableViewCell.swift
2024-07-25 19:44:30 +08:00

35 lines
933 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!
@IBOutlet weak var nextImageView: UIImageView!
@IBOutlet weak var sizeLabel: UILabel!
var title:String!{
didSet{
iconImageView.image = UIImage(named: title)
titleLabel.text = title
nextImageView.isHidden = (title == "Clear Cache")
sizeLabel.text = MP_CacheAndArchiverManager.shared.getCacheSizeText()
}
}
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
}
}