Re: Odd memory issue -- not a newbie
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.