Re: Need help for user interface in COCOA + Objective C

2009-03-31 Thread Lyndsey Ferguson
On Mar 31, 2009, at 10:46 AM, Shawn Erickson wrote: On Tue, Mar 31, 2009 at 5:40 AM, Mangesh Kute wrote: Hi, I am using COCOA + Objective C for creating user interface for my application. "Cocoa" Are you sure that he doesn't mean COCOA: Computations in Commutative Algebra (taken fr

Re: Need help for user interface in COCOA + Objective C

2009-03-31 Thread Shawn Erickson
On Tue, Mar 31, 2009 at 5:40 AM, Mangesh Kute wrote: > Hi, > > I am using COCOA + Objective C for creating user interface for my application. "Cocoa" > I created nib for displaying message to user. > When I load this nib from main thread, it works fine. > But when I load it from thread it displa

Re: Need help for user interface in COCOA + Objective C

2009-03-31 Thread Chris Backas
Hello, Short answer is "Use the main thread." Nearly all of AppKit is unsafe to use on secondary threads. Better answer is to read the Thread Programming Guide here: http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/Introduction/Introduction.html Good luck, Chris Backa

Need help for user interface in COCOA + Objective C

2009-03-31 Thread Mangesh Kute
Hi, I am using COCOA + Objective C for creating user interface for my application. I created nib for displaying message to user. When I load this nib from main thread, it works fine. But when I load it from thread it displays blank white window and processor get hogged. For loading nib I am using