Since I am getting nowhere with this I thought maybe at least I could know when the animation finishes. So I was trying it like this:
extension UINavigationController { func pushViewController(viewController: UIViewController, animated: Bool, completion: (Void -> Void)) { pushViewController(viewController, animated: animated) if let coordinator = transitionCoordinator() where animated { coordinator.animateAlongsideTransition(nil) { _ in completion() } } else { completion() } } } ...but the coordinator is just nil. Any thoughts? _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com