I've got a modal dialog with a couple of NSTextFields. Changes weren't getting 
saved, so I thought I'd better call commitEditing on the text field before 
retrieving its value with stringValue.

But when I call commitEditing on the NSTextField it gives the error: 
-[NSTextField commitEditing]: unrecognized selector sent to instance 

But there are no warnings from the compiler that commitEditing is an invalid 
method.

What am I doing wrong?





      Start your day with Yahoo!7 and win a Sony Bravia TV. Enter now 
http://au.docs.yahoo.com/homepageset/?p1=other&p2=au&p3=tagline
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to