• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sometimes all my menus are disabled
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Sometimes all my menus are disabled
      • From: "Gary L. Wade" <email@hidden>
References: 
 >Sometimes all my menus are disabled (From: Andreas Falkenhahn <email@hidden>)
 >Re: Sometimes all my menus are disabled (From: Kyle Sluder <email@hidden>)
 >Re: Sometimes all my menus are disabled (From: Andreas Falkenhahn <email@hidden>)
 >Re: Sometimes all my menus are disabled (From: Andreas Falkenhahn <email@hidden>)
 >Re: Sometimes all my menus are disabled (From: じょいすじょん <email@hidden>)
 >Re: Sometimes all my menus are disabled (From: Andreas Falkenhahn <email@hidden>)
 >Re: Sometimes all my menus are disabled (From: じょいすじょん <email@hidden>)
 >Re: Sometimes all my menus are disabled (From: Andreas Falkenhahn <email@hidden>)
 >Re: Sometimes all my menus are disabled (From: "Gary L. Wade" <email@hidden>)
 >Re: Sometimes all my menus are disabled (From: Andreas Falkenhahn <email@hidden>)
 >Re: Sometimes all my menus are disabled (From: "Gary L. Wade" <email@hidden>)

  • Prev by Date: Re: Sometimes all my menus are disabled
  • Next by Date: Re: Sometimes all my menus are disabled
  • Previous by thread: Re: Sometimes all my menus are disabled
  • Next by thread: Re: Sometimes all my menus are disabled
  • Index(es):
    • Date
    • Thread