• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSInvocation problem - "NSView not correctly initialized"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSInvocation problem - "NSView not correctly initialized"
      • From: Robert Nikander <email@hidden>
References: 
 >NSInvocation problem - "NSView not correctly initialized" (From: Robert Nikander <email@hidden>)

  • Prev by Date: Re: Comparing NSColor instances
  • Next by Date: Pages - save document
  • Previous by thread: NSInvocation problem - "NSView not correctly initialized"
  • Next by thread: Re: NSInvocation problem - "NSView not correctly initialized"
  • Index(es):
    • Date
    • Thread