• 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: Kyle Sluder <email@hidden>
  • Date: Mon, 21 Feb 2011 19:19:32 -0800

On Mon, Feb 21, 2011 at 1:04 PM, Keith Blount <email@hidden> wrote:
> Hi Matt,
>
> Many thanks for the reply. Unfortunately that doesn't really work, as if it is hidden in any way then it is off screen and therefore the artefacts bug rears its ugly head. (The whole thing is in a tab view, and even if the text view is in a different tab to the visible one while it is set up, the artefacts bug appears.)

Are you running on Snow Leopard?

Also, from your original description, it sounds like you intend for
the text view to possibly be deallocated during -viewDidMoveToWindow.
This sounds like a recipe for disaster. Instead, you should try
hooking up additional text views/containers to the same layout
manager. Your first text view will therefore always exist; in
single-view mode it will be the only text view, whereas in page layout
mode it will be the first in the chain of text views sharing the
layout manager and text storage.

--Kyle Sluder
_______________________________________________

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>
References: 
 >Re: How to detect when an NSTextView has finished being loaded into a window? (From: Matt Neuburg <email@hidden>)
 >Re: How to detect when an NSTextView has finished being loaded into a window? (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: -[NSSet containsObject:] returns NO when it should return YES
  • Next by Date: Re: How can I make a window just like the Anxiety App?
  • Previous by thread: Re: How to detect when an NSTextView has finished being loaded into a window?
  • Next by thread: Re: How to detect when an NSTextView has finished being loaded into a window?
  • Index(es):
    • Date
    • Thread