                 toView.alpha = 1.0
                 headerIntermediate.frame = self.headerFromFrame
             }
-        }, completion: { finished in
+        }) { finished in
             headerIntermediate.removeFromSuperview()
             headerTo.alpha = 1
             headerFrom.alpha = 1

            container!.addSubview(headerIntermediate)
        }
        
        UIView.animateWithDuration(duration, delay: 0.0, options: [], animations: {
            if self.mode == .Present {
                fromView.alpha = alpha
                toView.transform = CGAffineTransformIdentity

//

import UIKit

public let defaultTransitionDuration: NSTimeInterval = 0.5

public protocol MCMHeaderAnimatedDelegate {
    
