• 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: NSScrollView Problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSScrollView Problems


  • Subject: Re: NSScrollView Problems
  • From: Graham Cox <email@hidden>
  • Date: Sun, 03 Feb 2013 16:47:08 +1100

On 03/02/2013, at 3:56 PM, Patrick Cusack <email@hidden> wrote:

> I call the following in my windowControllerDidLoadNib:
>
> 	[[scrollView contentView] setCopiesOnScroll:NO];


Why? Copy On Scroll is usually a good thing. If it's set to NO you have to redraw the entire content every time, which is rarely performant or necessary. It's not clear whether it's a factor in your problem though, but try setting it to YES.

> Should I be calling [ setNeedsDisplay:YES] on my CustomView or on my NSScrollView?


On your view.

--Graham


_______________________________________________

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

References: 
 >NSScrollView Problems (From: Patrick Cusack <email@hidden>)
 >Re: NSScrollView Problems (From: Graham Cox <email@hidden>)
 >Re: NSScrollView Problems (From: Patrick Cusack <email@hidden>)

  • Prev by Date: Re: NSScrollView Problems
  • Next by Date: Re: NSScrollView Problems
  • Previous by thread: Re: MIDIClientCreate fail
  • Next by thread: Re: NSScrollView Problems
  • Index(es):
    • Date
    • Thread