This is a drop-in replacement for Thomas Moore's PreferenceLoader project. I personally found this necessary, as there were various things about the existing PreferenceLoader I did not like.
- unnecessary hooking
- +[NSData initWithContentsOfFile:]
- -[NSBundle pathForResource:ofType:]
- -[PSSpecifier setupIconImageWithPath:]
- Due to the way PreferenceLoader was implemented (intercepting the toplevel settings plists as they were read from disk and inserting our data directly into them (!)) it had certain filenames hardcoded, such as Settings-(iPhone|iPod).plist, and wouldn't work for other devices.
- Due to the broad hooks above, all sorts of things that don't need to be intercepted are. Every resource path calculated from a bundle gets extra checks tacked onto it, and every NSData-read-from-file gets a filename check.
- Its current lack of compatibility with iPhoneOS 3.2 and the iPad (relies on a removed ivar, and Settings-Wildcat.plist is not processed.)
- source availability
- error recovery (loading a bad bundle results in a simple "There was an error loading ..." instead of a blank preferences panel)
- cleaner design
- iPhoneOS 3.2 and iPad compatibility.
PreferenceLoader is made available under the provisions of the GNU Lesser General Public License (LGPL), version 3.