• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Panning a View
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Panning a View
      • From: "I. Savant" <email@hidden>
References: 
 >Panning a View (From: David Blanton <email@hidden>)
 >Re: Panning a View (From: David Blanton <email@hidden>)
 >Re: Panning a View (From: Graham Cox <email@hidden>)
 >Re: Panning a View (From: David Blanton <email@hidden>)
 >Re: Panning a View (From: Kyle Sluder <email@hidden>)
 >Re: Panning a View (From: David Blanton <email@hidden>)

  • Prev by Date: Re: Panning a View
  • Next by Date: Re: App Delegate in Document App
  • Previous by thread: Re: Panning a View
  • Next by thread: Re: Panning a View
  • Index(es):
    • Date
    • Thread