Skip to content

Commit

Permalink
'++' is deprecated: it will be removed in Swift 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ygweric committed Jun 27, 2016
1 parent 29efff1 commit f0b659d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EZAlertController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private extension UIAlertController {
var buttonIndex = 0
for buttonTitle in buttons {
let action = UIAlertAction(title: buttonTitle, preferredStyle: .Default, buttonIndex: buttonIndex, tapBlock: tapBlock)
buttonIndex++
buttonIndex += 1
self.addAction(action)
}
}
Expand Down

0 comments on commit f0b659d

Please sign in to comment.