Or little bit shorter. You can omit UIControlState part and just write like button.setTitle("my text here", forState: .Normal) .
確定! 回上一頁