• 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: Filing of User Presets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filing of User Presets


  • Subject: Re: Filing of User Presets
  • From: Robert Grant <email@hidden>
  • Date: Wed, 23 Oct 2002 20:31:13 -0400

Thanks Kurt, that's good to know and gives us a solution that I think would work nicely
for any host.
I think we should go with the Preferences file named after the Bundle Id. The contents
of the file could consist of two entries in the Root dictionary:

Root
|- Presets - dictionary
|- UserDefault - string

The elements in the dictionary would be the dictionaries for each preset. The UserDefault
could name the preset that the user likes to start with when they create that AU, thus
allowing them to override the factory default preset.

I'm not sure if this scales nicely to the possibly hundreds of presets that could come with
a Music Device but I think it'll do us for now :-)

I like the fact that it is reusing code and infrastructure that already exists.

Thanks everyone,

Robert.




On Wednesday, October 23, 2002, at 08:12 PM, Kurt Revis wrote:

On Wednesday, October 23, 2002, at 04:50 PM, Brian Willoughby wrote:

I highly recommend that the Cocoa NSUserDefaults class be used to store User
Presets.

This functionality is available in CoreFoundation as CFPreferences, by the way, so you don't need to drag in all of Cocoa and Objective-C.

--
Kurt Revis
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Filing of User Presets (From: Kurt Revis <email@hidden>)

  • Prev by Date: Re: Filing of User Presets
  • Next by Date: Re: Filing of User Presets
  • Previous by thread: Re: Filing of User Presets
  • Next by thread: Re: Filing of User Presets
  • Index(es):
    • Date
    • Thread