• 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
Subclassing NSTextFieldCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Subclassing NSTextFieldCell


  • Subject: Subclassing NSTextFieldCell
  • From: "Michael Varlik" <email@hidden>
  • Date: Mon, 28 Jan 2008 21:31:35 +0100

Hi,

I want to subclass NSTextFieldCell to implement a
functionality which displays the cell's content as
"*****" if the user decides to hide the cell's content.
I played a bit with NSTextFieldCell and found out
that I have to implement the "-(void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView" method to change the
content of it's controlView. The question I have is
how can I change the content of this view?

Many thanks in advance.
Michael
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Subclassing NSTextFieldCell
      • From: "Kyle Sluder" <email@hidden>
    • Re: Subclassing NSTextFieldCell
      • From: Dave Batton <email@hidden>
  • Prev by Date: Re: Serious problems in Interface Builder (bug?). Please help!
  • Next by Date: View Loading Performace Question
  • Previous by thread: Serious problems in Interface Builder (bug?). Please help! [resolved]
  • Next by thread: Re: Subclassing NSTextFieldCell
  • Index(es):
    • Date
    • Thread