Re: newbie : init ?
Re: newbie : init ?
- Subject: Re: newbie : init ?
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 12 Jun 2002 11:26:27 -0700
On Wednesday, June 12, 2002, at 02:22 AM, Robert Goldsmith wrote:
The first thing you need to do in an init method is init the
superclass you inherit from
In a subclass you should override the superclass' *designated
initialiser*.
(in this case NSTextField)
The designated initialiser of NSView subclasses is
- (id)initWithFrame:(NSRect)frameRect
(see documentation for NSControl, NSTextField's superclass).
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.