Great explanation, Kyle. Thanks for taking the effort to provide one
so thorough.
On Apr 7, 2009, at 10:28 PM, Kyle Sluder wrote:
On Wed, Apr 8, 2009 at 4:15 AM, Stuart Malin
wrote:
Googling this issue has led me to discover that, for NSTextView,
-initWithCoder gets called instead.
Yes,
Sure does cover it - quite specifically. Thanks for the reference --
lots of good material there that I need to absorb.
On Apr 7, 2009, at 10:24 PM, Jonathan Hess wrote:
Hey Stuart -
This link should cover your questions: http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResou
On Wed, Apr 8, 2009 at 4:15 AM, Stuart Malin wrote:
> Googling this issue has led me to discover that, for NSTextView,
> -initWithCoder gets called instead.
Yes, indeed.
> I've never run into this before -- that is, my subclassed NSView objects
> have their -initWithFrame: invoked (and NOT -init
Hey Stuart -
This link should cover your questions:
http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/CocoaNibs.html#//apple_ref/doc/uid/1051i-CH4-SW19
You're using awakeFromNib for its intended purpose.
Good Luck -
Jon Hess
On Apr 8, 2009, at 1:15 AM, S
I have a Nib with a single custom NSView subclass. That view has some
controls in it, including an instance of an NSTextView (that is also
subclassed). When the Nib is instantiated, the -awakeFromNib method
of the MyTextView class is invoked, but neither -initWithFrame: nor -
initWithFrame