Re: How to use NSPrintHeaderAndFooter
Re: How to use NSPrintHeaderAndFooter
- Subject: Re: How to use NSPrintHeaderAndFooter
- From: Scott Anguish <email@hidden>
- Date: Wed, 12 Jul 2006 01:57:18 -0400
short answer?
if you put it there it'll get called.
I'm not sure that I'd necessarily set a user default like that from
the init method of a view.. if you want it program wide, I think it
probably should be in the application delegate's
applicationDidFinishLaunching: implementation (assuming you have one,
which you probably do).. or even better a user-settable preference
On Jul 12, 2006, at 1:50 AM, email@hidden wrote:
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:" ?
_______________________________________________
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