Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: initWithFrame deosn't get called
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: initWithFrame deosn't get called



Thanks, that was it.

Micha
On 30 juin 08, at 16:27, Charles Steinman wrote:

--- 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


References: 
 >Re: initWithFrame deosn't get called (From: Charles Steinman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.