custom interactive transition animation

See WWDC 2013 video Custom Transitions Using View Controllers for discussion of the transition delegate, animation controller, and interaction controller. See WWDC 2014 videos View Controller Advancements in iOS 8 and A Look Inside Presentation Controllers for introduction to presentation controllers (which you should also use). The basic idea is to create a transition delegate … Read more

Combining a UILongPressGestureRecognizer with a UIPanGestureRecognizer

actually, you don’t have to combine gesture recognizers – you can do this solely with UILongPressGestureRecognizer… You enter StateBegan once your touch(es) have stayed within ‘allowableMovement’ for ‘minimumPressDuration’. You stay in your continuous longPressGesture as long as you don’t lift any of your fingers – so you can start moving your fingers and track the … Read more

tech