Skip to content

Commit

Permalink
add @objc to close() declaration so it's accessible as a selector
Browse files Browse the repository at this point in the history
  • Loading branch information
stakes committed Jun 16, 2015
1 parent 7fd136c commit 377eb2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JSSAlertView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class JSSAlertView: UIViewController {
self.alertview.setTextTheme(theme)
}

func close() {
@objc func close() {
self.alertview.closeView(false)
}
}
Expand Down

0 comments on commit 377eb2f

Please sign in to comment.