• 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: DragNDropOutlineView Example Define Syntax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DragNDropOutlineView Example Define Syntax


  • Subject: Re: DragNDropOutlineView Example Define Syntax
  • From: Mark Williams <email@hidden>
  • Date: Sun, 26 Jun 2005 12:17:13 -0700

I am sure of it but again I'm not really positive. I just know it's one of those have toos.
Another place you're likely to see it and it keeps with subclass of subclass is dealing with a document based app.
If you are using an NSWindowController then you are likely to have to do something like


    SomeDocumentClass * document;
    document = (SomeDocumentClass*)[self document];

in the windowDidLoad method.

The exact and accurate information on all this though would have to be offered by another person, since I don't fully understand it myself.
Mark


On Jun 25, 2005, at 4:00 PM, Ronnie O wrote:

Interesting that the two times you used it was with a subclass because
the instance in this case is a subclass of an NSObject subclass.
SimpleTreeNode is a subclass of TreeNode, which is a custom subclass
of NSObject.  This can all be seen in the DragNDropOutlineView
example.  Maybe this syntax is specific to some type of inheritance or
custom class issues?




_______________________________________________ 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
References: 
 >Re: DragNDropOutlineView Example Define Syntax (From: email@hidden)
 >Re: DragNDropOutlineView Example Define Syntax (From: Ronnie O <email@hidden>)

  • Prev by Date: Re: Drag and drop onto a NSButton
  • Next by Date: Re: Modal dialog pauses WebView rendering
  • Previous by thread: Re: DragNDropOutlineView Example Define Syntax
  • Next by thread: Using NSButton and Action Invocation
  • Index(es):
    • Date
    • Thread