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 17:58:13 +0100
On 13.02.2017 at 17:33 じょいすじょん wrote:
> Yeah, my first suggestion didn't work, but points out the problem overall in you nib.
> Looks like somebody did try to edit the xml before and munged it.
I certainly did not mess with the XML! Xcode must have messed this up when converting
the nib file from the old Xcode PowerPC project format to the new one.
> You also have nested menu duplicates inside your menus in the nib file itself!
> MainMenu
> Hollywood
> Menu
> About Hollywood
> Separator
> MainMenu (duplicated here as sub menu...)
> Preferences
> ... (and on)
> Delete that other MainMenu inside and it seems to work thus far.
I've removed the complete duplicate MainMenu tree (the one after the separator
item, see above) from designable.nib using a text editor. However, it still
doesn't work. Same behaviour as before.
<rant>
This annoying issue is just another reason why I prefer doing things in code.
This has already cost me hours over hours and it's still not solved. Even
worse, there's a profound feeling of helplessness in the air. And re-creating
everything from scratch is not an option! I certainly did not mess with the
XML. Xcode must have messed this up when converting the project from the
old format to the new one. All such things wouldn't be possible with code.
Code could be cleanly adapted to new designs while nobody can tell what black
magic is going on inside those arcane nib files. It's quite depressing. $0.02
</rant>
--
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