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

//

import UIKit

public protocol MCMHeaderAnimatedDelegate {
    

            } else {
                transitionContext.completeTransition(true)
            }
        }
        
    }
    
