//
//  ChatBackgroundGenerateGridCell.swift

//
//  Created by Leon on 2025/9/24.
//

class ChatBackgroundResultGridCell: RoleCreateAppearanceResultCell{
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupViews()
        setupEvent()
    }

    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    private func setupViews() {
        
    }
    
    private func setupEvent(){
        
    }
    
    // MARK: - Public
    
//    func config(_ data: AIUserImageQuery?){
//        self.data = data
//
//        iv.loadImage(data?.imageUrl)
//        //...
//    }
    
    
    
    func configSelectUrl(_ url: String?){
        guard let theUrl = data?.imageUrl, let select = url, theUrl == select else{
            setupSelected(false)
            return
        }
        
        setupSelected(true)
    }

    
}
