Hi
I'm trying to embed a couple of the system pref panes into an app by following
the Apple documented method, here's basically whats going on:
NSBundle *bundle = [NSBundle
bundleWithPath:@/System/Library/PreferencePanes/SharingPref.prefPane];
Class principalClass = [bundle principalClass];
Hey!
On 20/Aug/2010, at 1:44 AM, Jon Guy wrote:
This is not something hacky, it is documented by Apple and is supposed to
work but it's clearly not or I'm doing something wrong.
A shot in the dark however...
What OS version are you running and is it in 32 of 64 bit mode? There was a
time
On Aug 20, 2010, at 3:44 AM, Jon Guy wrote:
Hi
I'm trying to embed a couple of the system pref panes into an app by
following the Apple documented method, here's basically whats going on:
NSBundle *bundle = [NSBundle
bundleWithPath:@/System/Library/PreferencePanes/SharingPref.prefPane];
Am 20.08.2010 um 10:44 schrieb Jon Guy:
I'm trying to embed a couple of the system pref panes into an app by
following the Apple documented method, here's basically whats going on:
...
I've slightly modified your code (mainWindow is the apps main window) to look
like this:
NSBundle