Slide View in SwiftUI
I have a project in UIKit, with a Calendar. I implemented a slide animation every time the month is changed. This was the code: /// Desliza una vista hacia derecha o izquierda /// /// - Parameter direccion: Dirección de desplazamiento func deslizarHacia(_ direccion:DireccionDeslizamiento, tipoTransicion: CATransitionType = .push) { let slideInFromLeftTransition = CATransition() // Customize the animation's properties slideInFromLeftTransition.type = CATransitionType.push slideInFromLeftTransition.subtype = convertToOptionalCATransitionSubtype((direccion == .derecha) ? CATransitionSubtype.fromL
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.