• 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: Odd memory issue -- not a newbie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd memory issue -- not a newbie


  • Subject: Re: Odd memory issue -- not a newbie
  • From: Jonathan Jackel <email@hidden>
  • Date: Tue, 23 Dec 2003 20:22:17 -0500

It turns out I was adding the same layout manager to the text storage multiple times. If I don't do that, it works.

Jonathan


On Dec 15, 2003, at 4:38 AM, mmalcolm crawford wrote:

OFFLIST:

On Dec 13, 2003, at 4:57 PM, Jonathan Jackel wrote:
I'm printing a text view in a special way, so I use a custom view.
Mainly, I'm interested in the text view's text storage, because that's
what I want to print. I tried to write my setter this way:

Could you check the class of the text storage before and after printing, and prior to the crash?

NSTextStorage is a class cluster. I wonder if it's possible that the object is being swapped out underneath you, and you're releasing the wrong object?

mmalc
_______________________________________________
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.

References: 
 >Odd memory issue -- not a newbie (From: Jonathan Jackel <email@hidden>)

  • Prev by Date: Re: docs for binding options in IB
  • Next by Date: Re: who is putting up this dialog?
  • Previous by thread: Re: Odd memory issue -- not a newbie
  • Next by thread: table sizing question
  • Index(es):
    • Date
    • Thread