Lecture 4: Grid + enum + Optionals
Sigue así. Cada lección te acerca más a tu certificado.
Sobre esta lección
The fourth video lecture given to Stanford students in Spring quarter of 2020 continues the Memorize demo by enhancing significantly the arrangement of the cards by creating our own container View called Grid (which also involves a number of basic functional programming concepts). Two more important Swift language features are discussed (enum and Optionals). And we finally get Memorize playing the card matching game itself (prominently featuring Optionals in our implementation). The survey of the Swift type system completes with a discussion of enum, a data structure with more functionality built into it than students are used to from other languages. While the reading assignments in this course are the primary way students learned the Swift language, occasionally a very important feature of the language is highlighted in lecture, as in this lecture where Optionals are explained in detail and then extensively demonstrated as we use them prominently in our implementation of the full game logic for Memorize in our Model.
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.
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