That explains it, Thank you Mike.
On Mar 25, 2009, at 9:26 PM, Michael Ash wrote:
On Tue, Mar 24, 2009 at 10:43 PM, Ryan Joseph
<thealchemistgu...@gmail.com> wrote:
I have a window in a NIB file which I have assigned a class in the
"Class
Identity" field and corresponding NSWindow subclass in code.
According to
the reference (which is copied below) I think I should be receiving a
initWithCoder: message (there are only 3 options) but I never get
it. Custom
classes and NSViews are both receiving init and initWithFrame:
respectively.
Should NSWindow be getting this message when it is instantiated
from a NIB?
If not, how do I know when NSWindows are instantiated? Thanks for
helping.
NSWindows are a special case. They receive their designated
initializer, which is initWithContentRect:styleMask:backing:defer:.
Override that one.
Mike
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/thealchemistguild%40gmail.com
This email sent to thealchemistgu...@gmail.com
Regards,
Josef
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com