[Cocoa-sharp] Cocoa# example code sought, where can I get Nib Wrap???

kangaroo grompf@sublimeintervention.com
Sun, 23 Jan 2005 01:04:41 -0500

On 23-Jan-05, at 1:00 AM, Edward J. Sabol wrote:

>>> (1) I've noticed that the CocoaSharpBrowser and CocoaSharpFinder
>>> applications in example.tgz don't respond to Command keys, such as
>>> Command-Q and Command-W. How would I go about adding that to my
>>> application?
>> 	These two examples create their windows programatically and
>> should only be used as a building block / example of that. If you
>> are porting an app I'll assume that you're using NIBs which
>> automatically install these events / handlers.
> Well, I don't have any NIBs yet. "Nib Wrap" would definitely help 
> there, I
> think. Do you have Nib Wrap? Would you be willing to e-mail it to me 
> or tell
> me where I can get it?

Sorry I dont have it;

>> 	You can use .NET threads; however be careful about touching
>> the gui from other threads; Cocoa is not entirely thread safe. Some
>> things will work some wont; so I'd just suggest keeping all your
>> gui stuff in the main thread.
> Hmmm, well, I do need to update a status bar inside the thread. Just
> "StatusBar.stringValue = somestring;" Do you think that will be a 
> problem?

You'd have to test; you can always send messages back to the main 
thread and register with the NSApplicationLoop idle handler