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

2008-12-30 Thread Michael A. Crawford
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? -Michael -- The united stand. The divided get played. -- Bernie MAC smime.p7s Description: S/MIME cryptographic signature

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

2008-12-30 Thread Andrew Farmer
On 30 Dec 08, at 00:24, Michael A. Crawford 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 designated initializer for NSView is initWithFrame:, IIRC.

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

2008-12-30 Thread Marcus S. Zarra
Normally on a NSView the -initWithFrame: is called rather than the - init method Marcus S. Zarra Zarra Studios LLC Simply Elegant Software for OS X www.zarrastudios.com On Dec 30, 2008, at 1:24 AM, Michael A. Crawford wrote: I have an init method for an NSView sub-class that is never called.

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

2008-12-30 Thread Stephen J. Butler
On Tue, Dec 30, 2008 at 2:24 AM, Michael A. Crawford michaelacrawf...@mac.com 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

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

2008-12-30 Thread Jean-Daniel Dupas
Le 30 déc. 08 à 09:29, Andrew Farmer a écrit : On 30 Dec 08, at 00:24, Michael A. Crawford 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 designated initializer for NSView is