Re: Sometimes all my menus are disabled
Re: Sometimes all my menus are disabled
- Subject: Re: Sometimes all my menus are disabled
- From: Andreas Falkenhahn <email@hidden>
- Date: Mon, 13 Feb 2017 21:54:35 +0100
On 13.02.2017 at 19:49 Gary L. Wade wrote:
> Your assignments for the File’s Owner and Application objects are
> messed up. First, clear the custom class values for these two
> objects. After that, connect the delegate outlet in the Application
> object to your embedded AppDelegate object.
Thanks, but unfortunately, this doesn't help either (or I did it wrong).
Here's what I did:
1) Select File's Owner, go to Custom Class section in the Identity
inspector, delete what was inside the "Class" text field; the
"Class" text field is now empty but Xcode shows "NSObject" in
gray (indicating that this is probably the default)
2) Select Application, and repeat the steps from above; the "Class"
text field for Application is now empty as well and Xcode shows
"NSApplication" in gray
3) Then I changed to the Connections inspector for Application,
held down CMD and dragged the "delegate" item in the "Outlets"
section to my AppDelegate object; thus, it now shows
"delegate: AppDelegate" in the Connections inspector
However, as I said, the menus are still disabled in every 3rd
attempt or so :( It's really a frustrating experience. Such a
simple project, so much pain!
Any other ideas?
--
Best regards,
Andreas Falkenhahn mailto:email@hidden
_______________________________________________
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