Lecture 6: Animation

Lección 6 de 1540%

Sigue así. Cada lección te acerca más a tu certificado.

Sobre esta lección

Animation was the topic of lecture 6 of Stanford Spring 2020’s iOS Application Development course. After covering some ancillary topics like local, ephemeral state in Views (@State) and property observers, the lecture goes into a deep dive on animation, including implicit vs. explicit animations, transitions, Shape animations, animating ViewModifiers and more. These concepts are then installed in the Memorize demo by animating the flipping of cards, creating a new game and giving bonus points for quick matches. In SwiftUI, any changes to ViewModifiers or Shapes can be animated. Views can animate changes either implicitly (using the animate declaration) or explicitly (by wrapping a withAnimation function call around code that might cause changes, most notably Intent functions in the ViewModel) and can control the duration and “curve” of the animation. The “arrival and departure” of Views on screen can also be animated using the transition declaration (which declares which ViewModifiers to use to draw Views before/after they arrive/depart from the screen). In Memorize, the Cardify ViewModifier and the Pie Shape are both made Animatable and animation is applied throughout.

Sobre este curso

A Apple lançou recentemente o SwiftUI, que é um framework de interface para a linguagem de programação Swift e que mudou completamente como você costuma programar apps iOS. Isso inclusive muda como criar apps para macOS, watchOS (Apple Watch), tvOS (Apple TV) e claro também para iPhone e iPad. Conectado a isso, a Stanford começou recentemente sua formação em Ciência da Computação chamado "S193p - Developing Apps for iOS" e conta com aulas do Paul Hegarty, um cara sensacional e já foi contratado no passado pelo Steve Jobs para trabalhar como Vice Presidente do setor de engenharia da NeXT. Ele sabe MUITO do assunto, da Apple, do ecossistema iOS e esse curso Swift e SwiftUI é a formação oficial de Stanford, tudo disponível de graça.

Lección 6 de 15Nivel: principianteDuración total: 18h 29m

Lo que aprenderás en este curso:

  • Dominar la sintaxis y fundamentos de Swift
  • Diseñar interfaces con SwiftUI o UIKit
  • Gestionar datos y almacenamiento en aplicaciones iOS
  • Implementar funcionalidades nativas del iPhone/iPad