Re: commitEditing and unrecognized selector
Re: commitEditing and unrecognized selector
- Subject: Re: commitEditing and unrecognized selector
- From: Sean McBride <email@hidden>
- Date: Tue, 9 Dec 2008 19:12:45 -0500
On 2008-Dec-9, at 18:53, Chris Idou wrote:
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
I had this same question a while ago:
<http://www.cocoabuilder.com/archive/message/cocoa/2008/8/8/215145>
My conclusion is that the NSEditor informal protocol docs are wrong.
Sean
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden