Files
Woka_Native_iOS/WOKA/Theme/View/SongListCell.swift
BilalKhanWDI 5a7750d012 - Completed My oders. Rest will be completed when shop module is finished.
- Internet issue
- Added api to get blogs, with data model decoding, inflating the collection view
- Added api to get the songs, with data model decoding , inflated tableview with dynamic height
- Added inline player for song list
2024-06-10 19:45:36 +05:30

34 lines
788 B
Swift

//
// SongListCell.swift
// WOKA
//
// Created by MacBook Pro on 10/06/24.
//
import UIKit
class SongListCell: UITableViewCell {
@IBOutlet weak var ongoingTimeLabel: UILabel!
@IBOutlet weak var totalTimeLabel: UILabel!
@IBOutlet weak var songTitle: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
func setData(data : SongBlogDM.PaintDatum){
self.totalTimeLabel.text = "/" + (data.songDuration ?? "0:00")
self.ongoingTimeLabel.text = "0:00"
self.songTitle.text = data.title!
}
}