• 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: [KIND OF SOLVED] Re: PDFView won't display the first time?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [KIND OF SOLVED] Re: PDFView won't display the first time?


  • Subject: Re: [KIND OF SOLVED] Re: PDFView won't display the first time?
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 28 Mar 2007 14:03:55 -0600


On Mar 28, 2007, at 1:59 PM, glenn andreas wrote:

This smells like the classic "something needs to happen in the main run loop but you're running the a modal run loop so it doesn't" sort of problem that is also seen with things like embedding a WebView (or using NSURLDownload) in a dialog.

I'm using NSURLDownload in a dialog without any problems...

So what you can try is rolling your own modal session (beginModalSessionForWindow:, etc...), and inside that loop add:

[[NSRunLoop currentRunLoop] runUntilDate: [NSDate dateWithTimeIntervalSinceNow:0.1]];

(which works for WebViews)

Thanks, but this didn't work for PDFView.

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >PDFView won't display the first time? (From: Nick Zitzmann <email@hidden>)
 >[KIND OF SOLVED] Re: PDFView won't display the first time? (From: Nick Zitzmann <email@hidden>)
 >Re: [KIND OF SOLVED] Re: PDFView won't display the first time? (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: [KIND OF SOLVED] Re: PDFView won't display the first time?
  • Next by Date: Re: [KIND OF SOLVED] Re: PDFView won't display the first time?
  • Previous by thread: Re: [KIND OF SOLVED] Re: PDFView won't display the first time?
  • Next by thread: Re: [KIND OF SOLVED] Re: PDFView won't display the first time?
  • Index(es):
    • Date
    • Thread