adding to NSBrowser from a static function
adding to NSBrowser from a static function
- Subject: adding to NSBrowser from a static function
- From: Torsten Curdt <email@hidden>
- Date: Wed, 06 Apr 2005 22:50:09 +0200
I am using a shared library that calls
back into my code via a static function
static void THE_API anApiFunction() {
// do some stuff
}
...that I register in main.m before I
pass control to the NSApplicationMain.
...
api_register(anApiFunction);
return NSApplicationMain(argc, (const char **) argv);
}
Now this function is supposed to change
the content of a NSBrowser inside the
application window.
I am now wondering what would be the
best way to get hold of the NSBrowser
instance so the function can actually
change the content.
Any thoughts? ...or better ways?
I am also a bit concerned about
threading issues...
cheers
--
Torsten
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden