• 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
Re: Event loop in a secondary thread? Nibless Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Event loop in a secondary thread? Nibless Cocoa?


  • Subject: Re: Event loop in a secondary thread? Nibless Cocoa?
  • From: Jens Alfke <email@hidden>
  • Date: Sat, 3 May 2008 20:18:04 -0700


On 3 May '08, at 8:13 PM, Bruce Sherwood wrote:

Thanks! I'm really glad to hear that this is a known problem, and that there are solutions, even if it is "pretty tricky stuff". Can you or someone else point me to a sample piece of code that could get me started?

I'm not sure, actually. Check the last few weeks of list archives; I remember a thread whose subject was something relevant about promoting a command-line process.


Indeed, the nib file (if there is one) would be right next to the Visual module (in site-packages/visual). But initial reading of documentation, or at least of examples, made it look like you say something like "LoadNib", with no option to say where to get it, because the assumption is that the nib file is in a standard place in the app's bundle. Is there some kind of nib-loading procedure that takes a file location as an argument? I don't have anything against nib files in principle; I just don't know how to find them when my software isn't an app.

I can't speak for the Carbon nib APIs, but look at the NSBundle method
+ (BOOL)loadNibFile:(NSString *)fileName externalNameTable: (NSDictionary *)contextwithZone:(NSZone *)zone


The fileName parameter is an absolute path.

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: Event loop in a secondary thread? Nibless Cocoa?
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >Event loop in a secondary thread? Nibless Cocoa? (From: Bruce Sherwood <email@hidden>)
 >Re: Event loop in a secondary thread? Nibless Cocoa? (From: Jens Alfke <email@hidden>)
 >Re: Event loop in a secondary thread? Nibless Cocoa? (From: Bruce Sherwood <email@hidden>)

  • Prev by Date: Re: XML Attributes
  • Next by Date: Re: Event loop in a secondary thread? Nibless Cocoa?
  • Previous by thread: Re: Event loop in a secondary thread? Nibless Cocoa?
  • Next by thread: Re: Event loop in a secondary thread? Nibless Cocoa?
  • Index(es):
    • Date
    • Thread