Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting the Value of an NSSecureTextField



Hi,

I have an NSTableView that has a column of NSSecureTextFields. In my -(void)tableView:setObjectValue:forTableColumn:row: method I need to find what string has been entered into this field. If I look at the string passed via setObjectValue: it is an NSString of bullets (the length is correct though). According to the documentation I need to use stringValue so I tried:

[[aTableColumn dataCellForRow: rowIndex] stringValue]

but that just gives me the last thing placed in a cell by -(id)tableView:objectValueForTableColumn:row: and not the users entry.

I'm guessing I'm misunderstanding something...

Thanks,

Andrew
_______________________________________________
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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.