Re: modifying info dictionary
Re: modifying info dictionary
- Subject: Re: modifying info dictionary
- From: Douglas Davidson <email@hidden>
- Date: Fri, 17 Aug 2007 14:26:22 -0700
On Aug 17, 2007, at 2:12 PM, Oscar Bascara wrote:
Okay, thanks for the good advice, I won't modify the About dialog this
way. (A weird thing is that I can modify the info dictionary,
possibly because I have the correct user privileges as another poster
noted, and the About dialog does get modified. Also, I didn't notice
anything getting written to the bundle on the disk, but who knows what
could happen.)
The bundle is returning a dictionary specified as an NSDictionary,
which means that as a matter of API contract you aren't allowed to
modify it. The instance returned might under some circumstances
actually be mutable, but that is an implementation detail that you
can't rely on; that might change at any time and break your
application, if you were to rely on it.
Douglas Davidson
_______________________________________________
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