Re: Scroll view within scroll view blocks scrolling
Re: Scroll view within scroll view blocks scrolling
- Subject: Re: Scroll view within scroll view blocks scrolling
- From: Conrad Shultz <email@hidden>
- Date: Fri, 29 Apr 2011 15:26:14 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 4/28/11 8:27 PM, Indragie Karunaratne wrote:
> Notice that in my code I'm making a call to super, so using the above
> code, scrolling inside the text view would scroll both the parent
> scroll view and the text view scroll view at the same time. In my
> case, 2) was the only important thing for me because my text views
> don't scroll vertically (only horizontally). You could make it behave
> like Safari by using an NSTimer to create the "cooling off" period,
> but this simple workaround was good enough for my needs :)
D'oh... somehow my eye skipped right past the call to super and landed
on nextResponder. You are of course quite right.
Now I understand how this solution meets your needs, though I would
probably spend a bit of time implementing a timer so that six months
from now, when the requirements change, I'm not scratching my head and
wondering, "how did this work again?"
:-)
- --
Conrad Shultz
Synthetiq Solutions
www.synthetiqsolutions.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFNuzsGaOlrz5+0JdURAo4IAJwOjgc7BCUwcrnrxYR6vlxhpyABQQCeNuV5
7pI17CEA54nY/TBdNEVVsxE=
=73gG
-----END PGP SIGNATURE-----
_______________________________________________
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