Re: trying to glue a cocoa ui to a pthread application / subclassing nsview

2008-06-03 Thread Sean McBride
On 6/2/08 7:49 PM, Michael Toy said: trying to put a cocoa ui on an existing pthreads app. You might want to take note of this warning then: http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/ Multithreading/CreatingThreads/chapter_4_section_4.html#//apple_ref/doc/

trying to glue a cocoa ui to a pthread application / subclassing nsview

2008-06-02 Thread Michael Toy
trying to put a cocoa ui on an existing pthreads app. need to figure out how to let some random thread report to the ui that re-drawing the view would be a good idea. here is what i am trying to do, and this could be quite stupid but this is the best i've been able to figure out all by

Re: trying to glue a cocoa ui to a pthread application / subclassing nsview

2008-06-02 Thread Quincey Morris
On Jun 2, 2008, at 19:49, Michael Toy wrote: what I find is that my initWithFrame method is not being called ... so i have two questions ... my drawRect: IS being called, so I know my custom view is being instantiated. why is my init not being called? i thought i figured out the