Author Topic: 2 UIScrollView customization question  (Read 2655 times)

argcargv

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
2 UIScrollView customization question
« on: March 11, 2015, 11:00:29 PM »
1. How to give the UIScrollView lower "resistance"?
I know there is a setting for momentum, but even when I set it high, the scroll view's momentum is still not smooth.
I want the scroll view to have a little more slide when the finger is release.
Maybe I can do this by apply scrolling the UIScrollView through code after the finger is release?
Is there a way to lower the "resistance" of the scrollView

2. How to only have spring effect on the bottom but not the top?
I am planing to disable spring when the scrollView is above the mid point and enable it when scrollView is below the mid point.
Is this a good solution?

THANKSSS!!!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 2 UIScrollView customization question
« Reply #1 on: March 12, 2015, 08:27:02 PM »
UIScrollView.dampenStrength is a modifiable property in NGUI 3.8.1 that I'll put up shortly.

argcargv

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: 2 UIScrollView customization question
« Reply #2 on: March 13, 2015, 04:19:47 PM »
UIScrollView.dampenStrength is a modifiable property in NGUI 3.8.1 that I'll put up shortly.

Thanks?
How soon? I was just about to implement a custom solution.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 2 UIScrollView customization question
« Reply #3 on: March 13, 2015, 10:10:33 PM »
Tonight.

gyd

  • Jr. Member
  • **
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 87
    • View Profile
Re: 2 UIScrollView customization question
« Reply #4 on: March 22, 2015, 10:26:49 PM »
NGUI on asset store is still 3.8.0

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: 2 UIScrollView customization question
« Reply #5 on: March 23, 2015, 09:48:04 AM »
Ugh, the Asset Store asset submitting process changed drastically. Where before I had to do only 1 thing to submit an asset, I now have to do 3 steps -- first step on the website, then in the tool, then back on the website apparently. Ridiculous.