ProfileHeaderTableViewCell.swift 1.25 KB
//
//  ProfileHeaderTableViewCell.swift
//  SwiftWarplyFramework
//
//  Created by Manos Chorianopoulos on 29/5/25.
//

import UIKit

@objc public class ProfileHeaderTableViewCell: UITableViewCell {
    @IBOutlet weak var tagView1: UIView!
    @IBOutlet weak var tagLabel1: UILabel!
    @IBOutlet weak var tagView2: UIView!
    @IBOutlet weak var tagLabel2: UILabel!
    @IBOutlet weak var profileImage: UIImageView!

    public override func awakeFromNib() {
        super.awakeFromNib()
        
        profileImage.image = UIImage(named: "profile_pic_default", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
        
        tagView1.backgroundColor = UIColor(rgb: 0x09914E)
        tagView1.layer.cornerRadius = 4.0
        tagLabel1.font = UIFont(name: "PingLCG-Regular", size: 17)
        tagLabel1.textColor = UIColor(rgb: 0xFFFFFF)
        
        tagView2.backgroundColor = UIColor(rgb: 0xFC9F25)
        tagView2.layer.cornerRadius = 4.0
        tagLabel2.font = UIFont(name: "PingLCG-Regular", size: 17)
        tagLabel2.textColor = UIColor(rgb: 0xFFFFFF)
    }

    public override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}