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

NSSecureTextFieldCell setEchosBullets


  • Subject: NSSecureTextFieldCell setEchosBullets
  • From: Eric Long <email@hidden>
  • Date: Wed, 12 Apr 2006 12:11:12 -0700

This seems like it should be obvious, but...

I would like to call the NSSecureTextFieldCell method setEchosBullets to
toggle the display between normal and bullets according to the user's
choice.

I have a checkbox "Show password".  When clicked, it calls an action method.
Method authenticates the user, then tries this:

----

NSSecureTextFieldCell *theCell = [secureTextField cell];

[theCell setEchosBullets:[theCell echosBullets] == NO];
[secureTextField setNeedsDisplay:YES];

-----


This has no effect.  The field remains displaying bullets.  If you type into
the field, bullets continue to appear.

What  am I doing wrong here?


Thanks for the help,

Eric


 _______________________________________________
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

  • Follow-Ups:
    • Re: NSSecureTextFieldCell setEchosBullets
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Cocoa Web Service Questions
  • Next by Date: Progress bar on front NSPanel is grey not blue??
  • Previous by thread: Cocoa Web Service Questions
  • Next by thread: Re: NSSecureTextFieldCell setEchosBullets
  • Index(es):
    • Date
    • Thread