Re: using setPlaceholderString: in NSTextField

2010-09-06 Thread Gideon King
It's an NSTextFieldCell method not an NSTextField method. Try [[myTextField cell] setPlaceholderString:@"whatever"]; Regards Gideon On 07/09/2010, at 7:49 AM, C.W. Betts wrote: > I would like to set it so that I can set the placeholder string > programmatically. However, when I do it, I get

using setPlaceholderString: in NSTextField

2010-09-06 Thread C.W. Betts
I would like to set it so that I can set the placeholder string programmatically. However, when I do it, I get a warning at compile time and an error at runtime: 2010-09-06 15:42:01.617 System Preferences[50199:a0f] -[NSTextField setPlaceholderString:]: unrecognized selector sent to instance 0x