• 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: ERROR -- *** layout manager 12e71b0 reentrant glyph generation problem.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERROR -- *** layout manager 12e71b0 reentrant glyph generation problem.


  • Subject: Re: ERROR -- *** layout manager 12e71b0 reentrant glyph generation problem.
  • From: Douglas Davidson <email@hidden>
  • Date: Thu, 12 Feb 2004 09:57:54 -0800

On Feb 12, 2004, at 9:17 AM, Ashwin A Prabhu wrote:

I am getting this when i try to set the TextView to a default String like
@"Enter Text Here"
I first have the TextView blank and then when i try to set to the above
string i get the following error:
*** layout manager 12e71b0 reentrant glyph generation problem.
The container Size is handled programatically in the Layout managers
delegate method -
- (void)layoutManager:(NSLayoutManager *)aLayoutManager
didCompleteLayoutForTextContainer:(NSTextContainer *)aTextContainer
atEnd:(BOOL)flag

Generally speaking it is not a good idea to change the text during layout. The simplest solution would be to use a perform-after-delay, but perhaps you can reconsider your architecture so that changing the text is not triggered by layout.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: ERROR -- *** layout manager 12e71b0 reentrant glyph generation problem.
  • Next by Date: Re: performSelectorOnMainThread and other thread notifications
  • Previous by thread: Re: How do you find an underlying view?
  • Next by thread: Re: ERROR -- *** layout manager 12e71b0 reentrant glyph generation problem.
  • Index(es):
    • Date
    • Thread