Re: How to use NSPrintHeaderAndFooter
Re: How to use NSPrintHeaderAndFooter
- Subject: Re: How to use NSPrintHeaderAndFooter
- From: Matt Neuburg <email@hidden>
- Date: Wed, 12 Jul 2006 10:30:03 -0700
- Thread-topic: How to use NSPrintHeaderAndFooter
On Wed, 12 Jul 2006 07:50:04 +0200 (CEST), email@hidden said:
>>> The NSTextView is being created in the nib, so initWithFrame:... is
>>> never
>>> called. m.
>>
>> Matt is probably right (assuming that is how you create the text
>> view instance of course).
>
> Thanks to you both Matt and Scott. So the short answer is, "the code
>should be put in awakeFromNib:" ?
Actually, my short answer is: please, please, please, before posting to the
list, put in an NSLog() statement to make sure your code is even being
called.
And then read the docs! The fact that init... is not called for an object
created in the nib is well documented.
And then check the archives!! This matter has come up over and over. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden