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

NSSecureTextField


  • Subject: NSSecureTextField
  • From: Brian Burke <email@hidden>
  • Date: Wed, 29 Oct 2003 18:57:09 -0500

Hi All-
I'm extremely new to Cocoa programming, I have some experience in C++, C, Pascal, and shell scripting, but enough about that.

I'm trying to use a NSSecureTextField for a user to input a password. On this screen there are two buttons "login" (grabs the data and proceeds to login) and a clear button (supposed to clear the fields in case of major typos). The userID field is a NSTextField and the passwordField is a NSSecureTextField, I've been successful in clearing the userID field using the following code, but the password field won't clear.........


- (IBAction)clear:(id)sender
{
[userID setStringValue: @""];
[passwordField setStringValue: @"" ];
}

Is this the correct way to do this? Even a good way?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Subclassing NSCell questions
  • Next by Date: Re: global shortcuts
  • Previous by thread: Re: PB under Panther
  • Next by thread: Re: NSSecureTextField
  • Index(es):
    • Date
    • Thread