Talk About Network

Google





Mac > Mac Programmer Help > Re: 10.5 Gotcha...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 3697 of 3889
Post > Topic >>

Re: 10.5 Gotcha: Preferences Sync

by Sean McBride <cwatson@[EMAIL PROTECTED] > Apr 17, 2008 at 11:03 PM

In article <oster-77D271.20401806042008@[EMAIL PROTECTED]
>,
 David Phillip Oster <oster@[EMAIL PROTECTED]
> wrote:

> There is a new feature in OS X 10,5 (Leopard) that affects your 
> application: 
> 
> Preferences Sync. 
> 
> Preferences Sync is a new feature of Sync Services manager and .Mac, 
> that lets the user sync the contents the directory of 
> ${HOME}/Library/Preferences between multiple Macs.
> 
> You probably have a checklist of tasks you must attend to, to get your 
> application program ready to ****p.
> 
> Please add this item:
> 
> Look at the preferences you write to NSUserDefaults. Consider what 
> happens when a user uses .Mac to sync preferences to another machine. 
> Should any preferences not be synced?
> 
> For example, if your program checks for updates, you don't want the time

> of last check to be synced, because an old version might never check.
> 
> Here's how to control which preferences will be exempt from Preferences 
> Sync:
> 
> In your app's Info.plist add:
> 
> ...
> <key>com.apple.PreferenceSync.ExcludeSyncKeys</key>
> <array>
> <string>SULastCheckTime</string>
> ... other keys here ...
> </array>

Great tip David, thanks for passing it on!

Sean
 




 3 Posts in Topic:
10.5 Gotcha: Preferences Sync
David Phillip Oster <o  2008-04-06 20:40:18 
Re: 10.5 Gotcha: Preferences Sync
Sean McBride <cwatson@  2008-04-17 23:03:16 
OT: terminate called after throwing an instance of 'gfl::Excepti
Lab5 <lab5@[EMAIL PROT  2008-04-26 09:57:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 19:55:05 PST 2009.