Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Add scrolling direction observing for UIScrollView
(
github.com/lightory
)
1 point
by
lightory
on Nov 9, 2013
|
hide
|
past
|
favorite
|
1 comment
gdubs
on Nov 9, 2013
[–]
You could also observe the scrollView's panGestureRecognizer which has a velocity property. Might make it cleaner since it already computes the direction for you.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: