Author Topic: [Suggestion/Help] UIDraggablePanel iOS Springboard style dragging  (Read 3855 times)

missingno

  • Guest
Hi all,

I am attempting to setup a draggable panel to behave like the iOS Springboard, however I am at a loss as to how to get the panel to only move one child maximum, no matter how fast the user swipes.

I have increased the momentum on the panel to allow for very minute swipes to move to the next page but because of the momentum the panel usually just flys past the next child.

Ive tried looking at the different scripts but I cant figure out how to accomplish this.

I also think that it may be a small but good addition to the UIDraggablePanel/UIGrid/UIDragPanelContents (wherever this code can be implemented) component to have a field for how many children to spring past.

Any help is appreciated, Thanks.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: [Suggestion/Help] UIDraggablePanel iOS Springboard style dragging
« Reply #1 on: April 30, 2013, 11:39:07 PM »
For swipes and gesture recognition you might want to use a package designed for that like FingerGestures.