Re: Enabling menu items?
Re: Enabling menu items?
- Subject: Re: Enabling menu items?
- From: Kai-Mikael Jää-Aro <email@hidden>
- Date: Thu, 26 Jul 2007 14:11:46 +0200
Alastair Houghton kirjoitti 2007-07-26 kello 12:59:
On 26 Jul 2007, at 11:31, Kai-Mikael Jää-Aro wrote:
Alastair Houghton kirjoitti 2007-07-26 kello 12:21:
Does your EditorView return YES to -acceptsFirstResponder and -
becomeFirstResponder?
Yes.
Have you checked for typos in the names of those methods? (Sounds
stupid, but this kind of thing is a very common error in Objective-C.)
GAH! I *am* stupid! Yes, I had typed accceptsFirstResponder...
I just assumed that the compiler would complain about undeclared
methods, so I didn't even consider misspelling as a problem source.
OK, now I know one thing more to look out for... :-/
Thank you very much!_______________________________________________
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