Files
Woka_Native_iOS/WOKA/Authentication/View/YourIntrestCell.swift
BilalKhanWDI 3c69db0032 - Added send OTP api
- Added verify  OTP api
- Modified the flow
- Made a authfunc to handle the type of user and the language selected
- Added OTP fields combine logic. Also handled the otp blank checks.
- Added API for intrestes get
2024-05-07 19:33:29 +05:30

35 lines
788 B
Swift

//
// YourIntrestCell.swift
// WOKA
//
// Created by MacBook Pro on 02/05/24.
//
import UIKit
class YourIntrestCell: UICollectionViewCell {
@IBOutlet weak var outerView: UIView!
@IBOutlet weak var intrestLabel: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
}
override func layoutSubviews() {
outerView.roundCorner(radius: 20)
// outerView.backgroundColor = UIColor.white.withAlphaComponent(0.5)
}
func setData(data : IntrestTopicDM.Result){
intrestLabel.text = data.topicName?.capitalized
if data.isSelected!{
outerView.backgroundColor = UIColor.white
}else{
outerView.backgroundColor = UIColor.white.withAlphaComponent(0.5)
}
}
}