• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextField & setPlaceHolderString
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTextField & setPlaceHolderString (From: Sanjay Samani <email@hidden>)

  • Prev by Date: NSTextField & setPlaceHolderString
  • Next by Date: Dock freezes when dragging file over it
  • Previous by thread: NSTextField & setPlaceHolderString
  • Next by thread: Dock freezes when dragging file over it
  • Index(es):
    • Date
    • Thread