On Tue, Jul 28, 2009 at 10:52 AM, David Blanton<[email protected]> 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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to