Re: MainMenu.nib won't load
Re: MainMenu.nib won't load
- Subject: Re: MainMenu.nib won't load
- From: Ulf Dunkel <email@hidden>
- Date: Sun, 11 Apr 2010 12:24:25 +0200
- Organization: invers Software
Hi Peter.
Thank you for your reply. Is there any logical reason which could
explain that - even if our code would call NSDocumentController directly
- this works on every user's Mac but not this single user's one?
We will of course check and track everything. Thank you again for your
advice.
- - - - -
Am 11.04.2010 06:38, Peter Ammon wrote:
Hi Ulf,
The first instance of NSDocumentController (or a subclass) becomes the shared instance. It sounds like some code is instantiating an instance of NSDocumentController before your class, so the shared instance is of the base class instead of your subclass. I don't know what would be causing that, but you might look in your code for direct messages to NSDocumentController, instead of your subclass.
Good luck tracking it down,
-Peter
On Apr 10, 2010, at 2:43 AM, Ulf Dunkel wrote:
I am kind of stuck with a support question which I cannot explain myself. If someone in this list can give me a hint, I would be more than happy. If this list is the wrong place to ask for this issue, please excuse (and point me to the right place, if possible).
One of our customers cannot use our pure Cocoa app Barcody properly. He complains that several menu items cannot be used. (And of course he is the first and only one who complains about this.)
Console.app tells us this (on his Mac OS X 10.6.3 machine):
----- snip -----
4/7/10 8:44:12 AM Barcody[83923] Could not connect the action showPreferences: to target of class NSDocumentController
4/7/10 8:44:12 AM Barcody[83923] Could not connect the action showCreditsWindow: to target of class NSDocumentController
4/7/10 8:44:12 AM Barcody[83923] Could not connect the action gotoToReg: to target of class NSDocumentController
4/7/10 8:44:12 AM Barcody[83923] Could not connect the action visitURL: to target of class NSDocumentController
4/7/10 8:44:12 AM Barcody[83923] Could not connect the action stopModalDialog: to target of class NSDocumentController
----- snap -----
So it looks like the MainMenu.nib won't load properly on his machine. Although he is the only one who has this issue, I would be able to understand WHY this can happen.
Could we have done something wrong using the MainMenu.nib? Are there any known issues with Snowy and NSDocumentController?
If you want to check the Barcody Resources, just grab the multi-lingual app from here:
http://www.dsd.net/prod/mac/barcody.php?lan=en&pmode=download
(And yes, it happens whatever language and country he sets in his System Prefs.)
Clueless,
Ulf Dunkel
_______________________________________________
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