NSSecureTextField
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.