Re: NSInvocation problem - "NSView not correctly initialized"
Re: NSInvocation problem - "NSView not correctly initialized"
- Subject: Re: NSInvocation problem - "NSView not correctly initialized"
- From: "Clark Cox" <email@hidden>
- Date: Mon, 5 Nov 2007 07:43:41 -0800
On 11/4/07, Robert Nikander <email@hidden> wrote:
> Hi all,
>
> The following test program demonstrates a problem I'm having: when I
> call [NSButton alloc] through an NSInvocation, I get this error message:
>
> 2007-11-04 22:55:22.631 buttons[8483] NSButton(0x314150) - NSView not
> correctly initialized. Did you forget to call super?
You never called any of the "init..." methods. Unless you *really*
know what you're doing, a call to +alloc should always be followed by
a call to one of the class' init methods.
--
Clark S. Cox III
email@hidden
_______________________________________________
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