Re: drag and drop: NSView vs. NSImageView
Re: drag and drop: NSView vs. NSImageView
- Subject: Re: drag and drop: NSView vs. NSImageView
- From: Allan Odgaard <email@hidden>
- Date: Fri, 5 Mar 2004 16:48:26 +0100
On 5. Mar 2004, at 16:27, Michael Becker wrote:
Even my initWithFrame: method doesn't get called.
[...]
And of course I changed the NIB. (I deleted the old NSView, put in an
NSImageView, then configured it to be of the custom class
PCFolderDrop).
What am I missing here?
The Interface Builder documentation :)
IB will place the actual NSImageView in the Nib file with instructions
about it should be swapped with an implementation of your subclass when
the Nib is read -- the reason it does not put your class is, that it
does not have the source for your class when the Nib is saved.
You can implement awakeFromNib to do your initialization.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.