• 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: When is the - (id)init method not called for an Objective-C class?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When is the - (id)init method not called for an Objective-C class?


  • Subject: Re: When is the - (id)init method not called for an Objective-C class?
  • From: "Stephen J. Butler" <email@hidden>
  • Date: Tue, 30 Dec 2008 02:32:15 -0600

On Tue, Dec 30, 2008 at 2:24 AM, Michael A. Crawford
<email@hidden> wrote:
> I have an init method for an NSView sub-class that is never called.  Not
> expert enough with Objective-C to understand why?  Anyone have a clue?

The documentation for awakeFromNib lists the scenarios and what
messages are sent:

<http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSNibAwaking_Protocol/Reference/Reference.html>
_______________________________________________

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

References: 
 >When is the - (id)init method not called for an Objective-C class? (From: "Michael A. Crawford" <email@hidden>)

  • Prev by Date: Re: When is the - (id)init method not called for an Objective-C class?
  • Next by Date: Re: When is the - (id)init method not called for an Objective-C class?
  • Previous by thread: Re: When is the - (id)init method not called for an Objective-C class?
  • Next by thread: Safari Contextual Menu
  • Index(es):
    • Date
    • Thread