0

Is it possible for a NSTextField to respond to Javascript commands??

1 Answer 1

1

No. It only accepts objective-c messages.

If you have a WebView that generates some javascript events though, they can trigger something outside of your web view, but this is already objective-c or some other native language. This can then call obj-c messages on the NSTextField.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.