<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - 0xced</title>
<link>http://snipplr.com/users/0xced/language/objective-c/tags/reload</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 05 Dec 2008 04:52:56 GMT</pubDate>
<item>
<title>(Objective C) Detect already loaded older version of a preference pane</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</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>