Minor update to ActivityFeed sample app to fix warning for Swift 3.
Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/329de249 Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/329de249 Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/329de249 Branch: refs/heads/master Commit: 329de249730f3acea8516dc4aeaa8dbb44bf214c Parents: ffe8498 Author: Robert Walsh <rjwalsh1...@gmail.com> Authored: Thu Apr 14 12:21:12 2016 -0500 Committer: Robert Walsh <rjwalsh1...@gmail.com> Committed: Thu Apr 14 12:21:12 2016 -0500 ---------------------------------------------------------------------- sdks/swift/Samples/ActivityFeed/Source/FormTextField.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/usergrid/blob/329de249/sdks/swift/Samples/ActivityFeed/Source/FormTextField.swift ---------------------------------------------------------------------- diff --git a/sdks/swift/Samples/ActivityFeed/Source/FormTextField.swift b/sdks/swift/Samples/ActivityFeed/Source/FormTextField.swift index 9a79022..fbb9bd6 100644 --- a/sdks/swift/Samples/ActivityFeed/Source/FormTextField.swift +++ b/sdks/swift/Samples/ActivityFeed/Source/FormTextField.swift @@ -43,7 +43,7 @@ import UIKit } func setUp() { - addTarget(self, action: "actionKeyboardButtonTapped:", forControlEvents: .EditingDidEndOnExit) + addTarget(self, action: #selector(FormTextField.actionKeyboardButtonTapped(_:)), forControlEvents: .EditingDidEndOnExit) } func actionKeyboardButtonTapped(sender: UITextField) {