• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Need help for user interface in COCOA + Objective C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Need help for user interface in COCOA + Objective C


  • Subject: Need help for user interface in COCOA + Objective C
  • From: Mangesh Kute <email@hidden>
  • Date: Tue, 31 Mar 2009 18:10:35 +0530

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 following code,
NSApp = [NSApplication sharedApplication];
[MacMsgDialog myLoadNib];
[NSApp run];

In awakeFromNib, I am doing

[msgWindow center];
[msgWindow makeKeyAndOrderFront:nil]; // to show it
[msgWindow setLevel:NSFloatingWindowLevel];


Can someone please help me?

Regards,
Mangesh
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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 email@hidden

  • Follow-Ups:
    • Re: Need help for user interface in COCOA + Objective C
      • From: Shawn Erickson <email@hidden>
    • Re: Need help for user interface in COCOA + Objective C
      • From: Chris Backas <email@hidden>
  • Prev by Date: NSTextField and clickable links
  • Next by Date: Best way to modify user input into NSTextView
  • Previous by thread: Re: NSTextField and clickable links
  • Next by thread: Re: Need help for user interface in COCOA + Objective C
  • Index(es):
    • Date
    • Thread