<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/objective-c/tags/prefpane</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 13:50:43 GMT</pubDate>
<item>
<title>(Objective C) Exit PreferencePane Plugin - Carter</title>
<link>http://snipplr.com/view/26200/exit-preferencepane-plugin/</link>
<description><![CDATA[ <p>If you're writing a preference pane and you'd like to exit back to the main System Preferences view, just use this code.</p> ]]></description>
<pubDate>Sat, 09 Jan 2010 17:24:54 GMT</pubDate>
<guid>http://snipplr.com/view/26200/exit-preferencepane-plugin/</guid>
</item>
<item>
<title>(Objective C) Detect already loaded older version of a preference pane - 0xced</title>
<link>http://snipplr.com/view/4054/detect-already-loaded-older-version-of-a-preference-pane/</link>
<description><![CDATA[ <p>This detects if a preference pane is loaded over an already loaded older version. If the version mismatches, the reload tool (http://snipplr.com/view/3924/reload-a-preference-pane/) is launched and System Preferences is quitted.</p> ]]></description>
<pubDate>Wed, 31 Oct 2007 16:48:21 GMT</pubDate>
<guid>http://snipplr.com/view/4054/detect-already-loaded-older-version-of-a-preference-pane/</guid>
</item>
<item>
<title>(Objective C) Reload a preference pane - 0xced</title>
<link>http://snipplr.com/view/3924/reload-a-preference-pane/</link>
<description><![CDATA[ <p>The preference pane that need to be reloaded must fork 'reload' with two arguments, then terminate System Preferences. In Cocoa, the fork is easily achieved with a NSTask. The first argument must be the bundle identifier of the preference pane to reload. The second argument must be the process identifier of the terminating application, i.e. System Preferences. In Cocoa, you can get it with [[NSProcessInfo processInfo] processIdentifier], which is equivalent to getpid().</p> ]]></description>
<pubDate>Thu, 18 Oct 2007 15:16:16 GMT</pubDate>
<guid>http://snipplr.com/view/3924/reload-a-preference-pane/</guid>
</item>
</channel>
</rss>