• 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 debug over-release of private Cocoa object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to debug over-release of private Cocoa object?


  • Subject: Re: How to debug over-release of private Cocoa object?
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 15 Sep 2009 22:38:52 -0700

On Sep 15, 2009, at 9:59 PM, Graham Cox <email@hidden> wrote:

3. I am re-using the textview for different edits, much like the field editor. This involves replacing the text storage for a new edit, by calling -replaceTextStorage on the text view's layout manager. Then, undo fails because the targeted text storage no longer exists:

Oh, you just made the text system *very* mad. Somewhere in the soca it says you must use -[NSTextStorage setTexrStorage:] to do what you want. You don't want to know the morass of code we have in OmniOutliner to support moving the text system around, because we don't want to create NSLayoutManagers for empty rich text cells.


--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 debug over-release of private Cocoa object?
      • From: Graham Cox <email@hidden>
References: 
 >How to debug over-release of private Cocoa object? (From: Graham Cox <email@hidden>)
 >Re: How to debug over-release of private Cocoa object? (From: Graham Cox <email@hidden>)
 >Re: How to debug over-release of private Cocoa object? (From: Graham Cox <email@hidden>)
 >Re: How to debug over-release of private Cocoa object? (From: Nick Zitzmann <email@hidden>)
 >Re: How to debug over-release of private Cocoa object? (From: Graham Cox <email@hidden>)
 >Re: How to debug over-release of private Cocoa object? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSString vs. unicode encoding
  • Next by Date: Re: NSString vs. unicode encoding
  • Previous by thread: Re: How to debug over-release of private Cocoa object?
  • Next by thread: Re: How to debug over-release of private Cocoa object?
  • Index(es):
    • Date
    • Thread