• 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
DnD in NSMatrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DnD in NSMatrix


  • Subject: DnD in NSMatrix
  • From: Micha Fuhrmann <email@hidden>
  • Date: Sun, 29 Jun 2008 18:59:09 +0200

Dear all,

I'm subclassing NSMatrix to enable DnD in a 10.4 NSBrowser. The dragout is fine, but I'm having trouble registering for drag ins. From my understanding I need to need to call -registerForDraggedTypes: in the NSMatrix's -initWithFrame: subclass method

The trouble is I cannot access the initWithFrame method of my NSMatrix subclass. If I add the method it seems the parent NSMatrix class initWithFrame seems to get called, but not my NSMatrixSubClass initWithFrame.

I know this is a very basic Objective C question, I'm sorry for my ignorance.

Micha
_______________________________________________

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


  • Prev by Date: Handling framework exceptions/errors?
  • Next by Date: Re: Cocoa Text System: How to determine the caret position?
  • Previous by thread: Re: Handling framework exceptions/errors?
  • Next by thread: Clock-like looping
  • Index(es):
    • Date
    • Thread