• 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: modifying info dictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >modifying info dictionary (From: "Oscar Bascara" <email@hidden>)
 >Re: modifying info dictionary (From: Douglas Davidson <email@hidden>)
 >Re: modifying info dictionary (From: "I. Savant" <email@hidden>)
 >Re: modifying info dictionary (From: "Oscar Bascara" <email@hidden>)

  • Prev by Date: How to use Automator workflows in a Cocoa application?
  • Next by Date: Re: Printing contents of the active Desktop window
  • Previous by thread: Re: modifying info dictionary
  • Next by thread: Proper way to use NSUserDefaults + Bindings + Keychain
  • Index(es):
    • Date
    • Thread