I'm trying to set the text in an NSTextField, but the -setStringValue: and -setTitleWithMnemonic: methods are not working. Any ideas?
-setStringValue:
-setTitleWithMnemonic:
setStringValue: is the way to do it. You should make sure your outlet is being set properly. (In the debugger, make sure your textfield variable is not null.)
setStringValue:
2.1m questions
2.1m answers
60 comments
57.0k users