WalletHistoryBannerTableViewCell.swift 1.56 KB
//
//  WalletHistoryBannerTableViewCell.swift
//  SwiftWarplyFramework
//
//  Created by Manos Chorianopoulos on 27/2/24.
//

import UIKit

@objc public class WalletHistoryBannerTableViewCell: UITableViewCell {
    @IBOutlet weak var bannerView: UIView!
    @IBOutlet weak var bannerIconImage: UIImageView!
    @IBOutlet weak var bannerLabel: UILabel!
    @IBOutlet weak var bannerArrowImage: UIImageView!
    
    let language = swiftApi().getLanguage()
    
    public override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
        
        bannerView.layer.cornerRadius = 16.0
        bannerView.layer.borderWidth = 1
        bannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor
        
        // Add shadow
        bannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
        bannerView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0)
        bannerView.layer.shadowOpacity = 1.0
        bannerView.layer.shadowRadius = 1.0
        
        bannerIconImage.image = UIImage(named: "wallet_history_blue", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
        bannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
        
        bannerLabel.text = "Δες το ιστορικό σου"
    }

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

        // Configure the view for the selected state
    }
    
}