Re: Need help for user interface in COCOA +
On Tue, Mar 31, 2009 at 5:40 AM, Mangesh Kute <kutemangesh@xxxxxxxxx> wrote:
> 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.
Review the following, in particular the section about AppKit (also
best to read the whole document)...
"You should create, destroy, resize, move, and perform other
operations on NSView objects only from the main thread of an
> Can someone please help me?
You should only create view object graphs, etc. from the main thread.
Look at using -[NSObject
Cocoa-dev mailing list (Cocoa-dev@xxxxxxxxxxxxxxx)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to maillists@xxxxxxxxx