On 05/06/2009, at 2:03 PM, cocoa learner wrote:

How can I use mlock() for NSString and NSTextField?As argument to mlock is
address of memory area and length.
I have address of memory area but I do not have the length (as these are
objects).


If you want to allow the user to edit a password or other sensitive data in the UI then you should use an NSSecureTextField.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to