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

Expanding NSScrollView


  • Subject: Expanding NSScrollView
  • From: Andrew Shamel <email@hidden>
  • Date: Tue, 21 Jul 2009 11:55:51 -0700

Hi All,

I've dug around through the archives, but couldn't turn anything up that addresses this question, so I turn to the collective wisdom of the list.

I'm trying to figure out how to create an NSScrollView subclass that expands vertically rather than scrolling, up to a certain height. For instance, a scrollview containing an NSTextView would expand itself when the textview exceeded the visible rect, until the textview reached a certain length, at which point normal scrolling behavior would commence. Likewise, it would shrink back along the same parameters.

I am imagining that this might have something to do with the ClipView, but I may be way off. Alternatively a scrollViewShouldScroll: delegate method would be convenient at this point.

If that wasn't coherent, or if anyone has any ideas, I would be sincerely grateful.

Peace,

Andy Shamel
_______________________________________________

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: Expanding NSScrollView
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Responding to mouseDown in an NSImageView
  • Next by Date: Re: The iPhone SDK "OpenGL ES Application" template
  • Previous by thread: Re: Responding to mouseDown in an NSImageView
  • Next by thread: Re: Expanding NSScrollView
  • Index(es):
    • Date
    • Thread