Re: initWithFrame deosn't get called
Re: initWithFrame deosn't get called
- Subject: Re: initWithFrame deosn't get called
- From: Charles Steinman <email@hidden>
- Date: Mon, 30 Jun 2008 07:27:11 -0700 (PDT)
--- On Mon, 6/30/08, Micha Fuhrmann <email@hidden> wrote:
> I'm trying to registerForDraggedTypes a NSMatrix
> subclass that's used
> in a NSBrowser. When I override init or initWithFrame in my
> Matrix
> class in manner to include registerForDraggedTypes none of
> the two
> methods get called.
If you look at the NSMatrix docs, the designated initializer for NSMatrix is -initWithFrame:mode:prototype:numberOfRows:numberOfColumns:. Try overriding that.
Cheers,
Chuck
_______________________________________________
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