Re: NSTextField & setPlaceHolderString
Re: NSTextField & setPlaceHolderString
- Subject: Re: NSTextField & setPlaceHolderString
- From: Christian Stieber <email@hidden>
- Date: Fri, 07 Apr 2006 10:09:32 +0200
At 09:12 07.04.2006 +0100, Sanjay Samani wrote:
Compiler gives: warning: 'NSTextField' may not respond to '-
setPlaceholderString:'
Runtime gives: -[NSTextField setPlaceholderString:]: selector not
recognized
Well, they are both correct. You have to
[[YourTextField cell] setPlaceholderString:@"fumo"];
the thing.
Christian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden