Re: Panning a View
Re: Panning a View
- Subject: Re: Panning a View
- From: Kyle Sluder <email@hidden>
- Date: Tue, 28 Jul 2009 10:56:46 -0700
On Tue, Jul 28, 2009 at 10:52 AM, David Blanton<email@hidden> wrote:
> Ok, why not? It 'appears' to work properly.
http://www.cocoabuilder.com/archive/message/cocoa/2008/1/29/197499
> I only do it so the untitled file window that appears at startup (which I
> cannot get rid of, see my next post) looks goofy with scroll bar thumbs and
> no content.
So why would you think to do it in -drawRect:? Do it in
-awakeFromNib, or -[NSWindowController windowDidLoad], or -[NSDocument
windowControllerDidLoadNib:]. These are the places to do post-nib
loading setup.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden