Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 642 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 642 Bytes

Basic CATransitions

Custom pushviewcontroller animations with CATransition

    let type: [CATransitionType] = [.fade, .push, .reveal, .moveIn]
    let timingFunctions: [CAMediaTimingFunctionName] = [.default, .linear, .easeOut, .easeIn, .easeInEaseOut]
    let subType: [CATransitionSubtype] = [.fromTop,.fromLeft,.fromRight,.fromBottom]
    let fillMode: [CAMediaTimingFillMode] = [.forwards, .backwards, .both, .removed]
    let duration: [CFTimeInterval] = [0.1, 0.2, 0.3, 0.4, 0.5, 0.7, 1.0]