Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / Mac Programming / April 2008



Tip: Looking for answers? Try searching our database.

10.5 Gotcha: Preferences Sync

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
David Phillip Oster - 07 Apr 2008 04:40 GMT
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 ship.

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>

...

See:

http://developer.apple.com/documentation/Cocoa/Conceptual/SyncServices/Ar
ticles/SyncingPreferences.html

for more information.

Signature

David Phillip Oster

Sean McBride - 18 Apr 2008 04:03 GMT
> There is a new feature in OS X 10,5 (Leopard) that affects your
> application:
[quoted text clipped - 28 lines]
> ... other keys here ...
> </array>

Great tip David, thanks for passing it on!

Sean
Lab5 - 26 Apr 2008 08:57 GMT
Hi all,

I am experiencing crashed with an audio unit and find this in the
console:

terminate called after throwing an instance of 'gfl::Exception'

Does anyone know what seems to be the problem? I installed the plug on
a fresh system and it functioned normally there ...
Thanks in advance for any input.

Best, Lab
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.