{"action":"opened","issue":{"url":"https://api.github.com/repos/SwiftBond/Bond/issues/68","labels_url":"https://api.github.com/repos/SwiftBond/Bond/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/SwiftBond/Bond/issues/68/comments","events_url":"https://api.github.com/repos/SwiftBond/Bond/issues/68/events","html_url":"https://github.com/SwiftBond/Bond/issues/68","id":79176130,"number":68,"title":"Issue with bidirectional bindings in NSTextField","user":{"login":"rnine","id":479427,"avatar_url":"https://avatars.githubusercontent.com/u/479427?v=3","gravatar_id":"","url":"https://api.github.com/users/rnine","html_url":"https://github.com/rnine","followers_url":"https://api.github.com/users/rnine/followers","following_url":"https://api.github.com/users/rnine/following{/other_user}","gists_url":"https://api.github.com/users/rnine/gists{/gist_id}","starred_url":"https://api.github.com/users/rnine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnine/subscriptions","organizations_url":"https://api.github.com/users/rnine/orgs","repos_url":"https://api.github.com/users/rnine/repos","events_url":"https://api.github.com/users/rnine/events{/privacy}","received_events_url":"https://api.github.com/users/rnine/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T21:51:52Z","updated_at":"2015-05-21T21:51:52Z","closed_at":null,"body":"I was trying to set a bidirectional binding on a `NSTextField` and I think I have spotted a bug (I am using Xcode 6.3. / Swift 1.2)\r\n\r\nThis is what I have:\r\n\r\n```Swift\r\n@IBOutlet weak var textField: NSTextField!\r\nlet backedValue = Dynamic<String>(\"Moose\")\r\n\r\nfunc applicationDidFinishLaunching(aNotification: NSNotification) {\r\n   backedValue <->> textField.dynText\r\n}\r\n```\r\n\r\nWhen the textfield is changed, Bond attempts to trigger `-[Bond.TextFieldDynamicHelper textChanged:]` but it fails with \"unrecognized selector sent to instance\". After looking at `Bond+NSTextField.swift` I noticed that `textChanged` is declared as private:\r\n\r\n> Declarations marked private are not exposed to the Objective-C runtime if not otherwise annotated. IB outlets, IB actions, and Core Data managed properties remain exposed to Objective-C whatever their access level. If you need a private method or property to be callable from Objective-C (such as for an older API that uses a selector-based callback), add the @objc attribute to the declaration explicitly.\r\n\r\nPerhaps adding @objc would be a good idea?"}}