Skip to content

Commit

Permalink
Merge pull request #11 from ygweric/master
Browse files Browse the repository at this point in the history
'++' is deprecated: it will be removed in Swift 3
  • Loading branch information
thellimist authored Jun 27, 2016
2 parents 29efff1 + f0b659d commit c796b8f
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 c796b8f

Please sign in to comment.