How would I loop through all UIButtons in my view in Swift? I would want to set all the titles to \"\", but my for-loop in Swift is giving an error.
UIButtons
\"\"
Shortened and updated for Swift 3 & 4
for case let button as UIButton in self.view.subviews { button.setTitleForAllStates("") }