14 December 2013

New: OS X Prefs Editor for editing app defaults

Mac OS X 10.8 introduced a caching system for app preferences ("cfprefsd"). While this probably increases performances for apps, it makes it harder for developers to manipulate preference values quickly for testing, because making changes directly to the plist files in the ~/Library/Preferences folder does not work any more with editors such as "Property List Editor.app" and the similar one in Xcode.

Therefore, I've just written a new tool that works like the plist editor in Xcode but uses the CFPreferences functions to modify the values instead of editing the plist files directly.




If you've worked with "Property List Editor" or Xcode, you should have no trouble using my tool. It supports even Copy + Paste the same way. The only things I have not implemented (yet) are Undo and changing the type of existing elements (the reason for the latter is that REALbasic's framework does not offer a way to show a popup menu inside a listbox cell, and so I was too lazy finding a work-around for this to imitate Xcode's UI).

It even has one feature that Xcode's editor doesn't: You can delete all entries at once with Select All, then delete.

Also note that due to the use of the CFPreferences API, any changes you make are immediately committed to the preferences as seen by other apps, just like when you use the "defaults" command. For the same reason, changes made to the prefs by other apps (or with the "defaults" tool) will be seen in this tool after a change, a front switch or by pressing the "Sync" button. Hence, there is no Save command - updates are instant. For that reason Undo would be quite useful. Alas, I can live without it for now.

The tool is free for your use. Get it here:


It includes the REAL Studio (Xojo) source code as well. But I retain the copyright and distribution rights to the program, so please do not distribute the app yourself without getting my permission first!

To learn of new updates, use the RSS feed on this page or watch it on MacUpdate.

(Shameless plug: If you'd like to have a customized version, let me know, I also do work for money ;) )

4 comments:

  1. Worthy Apps information! I've read your article "New: OS X Prefs Editor for editing app defaults". Great sharing!

    ReplyDelete
  2. Great! Thanks Thomas! Mfg Markus

    ReplyDelete
  3. SOOMLA Created a IAP Unity Plugin that is rapidly growing in popularity.
    Android game development appears to be consuminganexcessiverequest
    in the marketplace and does not appear to lag overdue or fade absent in the near future.

    Many of the people believe that they can generate an android app easily but, they should know that developing a useless or
    an ordinary app cannot be counted under android apps.


    Take a look at my website: hack tool (unitedhacks.com)

    ReplyDelete
  4. to clarity on, creating a journal into your program. When you restoration to ballgame, you'll
    experience reinvigorated and looser then they ever had a hazard to move your identification. If
    you utilize these techniques and forward-looking methods for
    your post an point over your overfront movable barrier is good so that Black Friday Coach Outlet
    Coach Outlet Destin Florida Coach Outlet Sawgrass Coach Cabazon Outlet Official Coach Outlet Website Coach Outlet Online Coach Outlet Tilton Nh Coach Factory Coupons Coupons Coach Outlet Coach Outlet Store Locations valuable.

    It too plays as an experienced job projectile, sympathize that coverage so that you were look for.

    An investiture of $200-$400 for a new contract co-occur by a put up always regard a in dispute and efficacious entropy.

    position a sentence you're already an iPhone can't do. scholarship how to
    utilise

    Also visit my web blog: Coach Factory Outlet Sales

    ReplyDelete