I just upgraded to Swift 2.0 and am unsure as to why this line of code isn't working.I know toInt() was remove in Swift 2.0 but I can't figure how to update this line of code so it will work in Swift 2.0. Any suggestions?
Old line:
followers.setTitle((followers.currentTitle!.toInt()! - 1).description, forState: UIControlState.Normal)
I tried this line with no success:
followers.setTitle((followers.currentTitle!.Int()! + 1).description, forState: UIControlState.Normal)