| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Finlay,
As usual. Thanks for the help.
------------------------- Kirt S. Cathey http://www.bizolutions.com -------------------------
identifierFrom: Finlay Dobbie <email@hidden> To: Kirt Cathey <email@hidden> CC: email@hidden Subject: Re: Change Budle Identifier, then lost defaults Date: Thu, 25 Aug 2005 11:48:54 +0100
On 25/08/05, Kirt Cathey <email@hidden> wrote:
> The other day before compiling, I changed the name of the bundle
> then compiled. After testing for a while, I noticed that the compiledapp
> would not present a Preferences dialog box unless I clicked thepull-down
> menu twice. Among other things noticed when running with Omni Objectmy
> Meter....
>
> Then when I went back to XCode to debug, I noticed that I lost all of
> defaults and started getting nil assignment errors when MyDocumentwould
> load, etc.and
>
> Now, no matter what I set the bundle identifier to be, errors persist
> preferences are not saved on the hard disk.
At a guess, your code wasn't handling the case when there weren't defaults present. When you changed the bundle identifier, you ended up with an empty domain, and things started breaking. You hadn't noticed this before because you had some non-nil values for some keys.
Just a wild stab in the dark. You're the only one in a position to determine if that's the case or not :-)
-- Finlay
_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
| References: | |
| >Re: Change Budle Identifier, then lost defaults (From: Finlay Dobbie <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.