• 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: NSOutlineView with C++ classes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView with C++ classes


  • Subject: Re: NSOutlineView with C++ classes
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 23 Sep 2005 15:05:06 -0700

on 05/09/23 05:58, Daniel Price at email@hidden wrote:

> Is there some other way of passing back
> Group as an id without crashing the code?

I'm not sure, but since I don't see any replies to this long post, I'll
offer a clue which might answer this one question.  I had made my own data
tree by adding a category to NSMutableDictionary.  It crashed unpredictably
until I implemented some advice I found in the list archives: Wrap (parent)
pointers in NSValue.  Wrap using -valueWithPointer, unwrap using
-pointerValue.  I never understood the magic of this but it definitely
eliminated all my crashes.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSOutlineView with C++ classes
      • From: Corbin Dunn <email@hidden>
References: 
 >NSOutlineView with C++ classes (From: Daniel Price <email@hidden>)

  • Prev by Date: Screen Saver on multiple displays system
  • Next by Date: Re: NSOutlineView with C++ classes
  • Previous by thread: NSOutlineView with C++ classes
  • Next by thread: Re: NSOutlineView with C++ classes
  • Index(es):
    • Date
    • Thread