Re: Custom UIViewController transitions with segues

2015-12-31 Thread Rick Mann
Yes, thank you; that seems to do the trick. Bit annoying, since it's harder to manage the UINavigationControllerDelegate, but this seems to work. Thanks! > On Dec 30, 2015, at 19:24 , Sixten Otto wrote: > > Are you maybe looking for the UINavigationControllerDelegate method

Re: Custom UIViewController transitions with segues

2015-12-30 Thread Rick Mann
> On Dec 30, 2015, at 18:14 , Roland King wrote: > > >> On 31 Dec 2015, at 09:12, Rick Mann wrote: >> >> I have a UICollectionView in a UINavigationController, and I'd like to >> customize the transition from one to the next on push. So I set up the

Re: Custom UIViewController transitions with segues

2015-12-30 Thread Roland King
> On 31 Dec 2015, at 09:12, Rick Mann wrote: > > I have a UICollectionView in a UINavigationController, and I'd like to > customize the transition from one to the next on push. So I set up the first > VC as UIViewControllerTransitioningDelegate, and in >

Re: Custom UIViewController transitions with segues

2015-12-30 Thread Rick Mann
> On Dec 30, 2015, at 18:20 , Rick Mann wrote: > > >> On Dec 30, 2015, at 18:14 , Roland King wrote: >> >> >>> On 31 Dec 2015, at 09:12, Rick Mann wrote: >>> >>> I have a UICollectionView in a UINavigationController, and I'd

Custom UIViewController transitions with segues

2015-12-30 Thread Rick Mann
I have a UICollectionView in a UINavigationController, and I'd like to customize the transition from one to the next on push. So I set up the first VC as UIViewControllerTransitioningDelegate, and in prepareForSegue(_:sender:) set the destination VC's transitioningDelegate to self. But my

Re: Custom UIViewController transitions with segues

2015-12-30 Thread Sixten Otto
Are you maybe looking for the UINavigationControllerDelegate method that lets you provide an animation controller for the push? That appears to be the way one hooks into the operation of the navigation controller in order to override the default animations.