How would I code: select the button who's titlelabel.text is equal to "category"
@IBOutlet var buttons: [UIButton]!
var category: String?
override func viewDidLoad() {
super.viewdidload()
//I want to put the code here!
}
How would I code: select the button who's titlelabel.text is equal to "category"
@IBOutlet var buttons: [UIButton]!
var category: String?
override func viewDidLoad() {
super.viewdidload()
//I want to put the code here!
}
Copyright © 2021 Jogjafile Inc.
Here is how you can
filterout that buttonAlso you can achieve that with
first