Matt Gemmell

My new book CHANGER is out now!

An action-thriller novel — book 1 in the KESTREL series.

★★★★★ — Amazon

Announcing SS_PrefsController

source 1 min read

I've got some new Cocoa source for you today, folks: announcing SS_PrefsController!
This class (and its associated protocol) makes it absurdly easy to implement multiple-paned 
Preferences windows in your applications, with views dynamically loaded from one or more external bundles. Once 
you've set up the bundles for your preference panes (easy in itself), it's basically just two lines 
of code to implement a full-featured Preferences window like those in iChat, Mail, Safari 
and many other applications. Here's a sample pic of the kind of Preferences window I mean:
Screenshot
The class takes care of everything to do with managing the window, loading the bundles and views, 
creating and populating the toolbar at the top, and plenty more. Take a look at the 
<a href="http://www.scotlandsoftware.com/ftp/source/ssprefscontroller_docs/SS_PrefsController.html" target="_top">class documentation online</a>, or just 
<a href="http://www.scotlandsoftware.com/ftp/source/ssprefscontroller.tar.gz" target="_top">download the whole package</a> (142k .tar.gz). 
Includes the class source files, full source of a demo application and two example preference-pane bundles, demo executables ready to run, 
full documentation and some tips to get you started.



Released under the <a href="http://creativecommons.org/licenses/by/1.0/" target="_top">CC Attribution License</a>; 
details included in the download. Enjoy!