• 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: How to detect when an NSTextView has finished being loaded into a window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to detect when an NSTextView has finished being loaded into a window?


  • Subject: Re: How to detect when an NSTextView has finished being loaded into a window?
  • From: Matt Neuburg <email@hidden>
  • Date: Mon, 21 Feb 2011 10:16:53 -0800

On Mon, 21 Feb 2011 06:22:35 -0800 (PST), Keith Blount <email@hidden> said:
> I've also tried only posting the notification after a delay of 0, which works and avoids the crash, but is a little slow - you can see the original text view getting loaded on screen before being swapped for the multiple page view.
>

If the nub of the remaining problem is what "you can see", I wonder why you don't simply have these text views be hidden. That way they are in the window (so that they are loaded correctly) but the user sees nothing. Or, if that doesn't work, cover them with something else (another view, or even a secondary window). You can cover the intervening time with a progress indicator of some sort. m.

--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________

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: How to detect when an NSTextView has finished being loaded into a window?
      • From: Keith Blount <email@hidden>
  • Prev by Date: Re: How to use Photo Albums of the landscape mode iphone app
  • Next by Date: Re: need variable # core model properties for entity
  • Previous by thread: Re: need variable # core model properties for entity
  • Next by thread: Re: How to detect when an NSTextView has finished being loaded into a window?
  • Index(es):
    • Date
    • Thread