Re: initWithFrame deosn't get called
Re: initWithFrame deosn't get called
- Subject: Re: initWithFrame deosn't get called
- From: Graham Cox <email@hidden>
- Date: Mon, 30 Jun 2008 23:57:48 +1000
Try doing it from awakeFromNib:
I had an issue where registerForDraggedTypes wasn't working if called
too early, though I forget the details exactly. Moving the
registration to awakeFromNib (or even windowControllerDidLoadNib if
you have an NSWindowController) fixed it so I didn't investigate the
problem too deeply. I got the impression it was because if it's called
before the view is added to the window, the registration was ignored,
but I may be wrong abut that.
hth,
Graham
On 30 Jun 2008, at 11:11 pm, Micha Fuhrmann wrote:
How can I call registerForDraggedTypes for each one of the Browser's
Matrix as ithey init?
_______________________________________________
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