Lecture 2: Learning more about SwiftUI

Поділитися
Вставка
  • Опубліковано 25 гру 2024
  • The series of video lectures given to Stanford University students in the Spring of 2021 continues with the completion of the first prototype of a user-interface for a card-matching game called Memorize.
    The very important concept of Views takes center stage as basic composition mechanisms of SwiftUI (stacking and gridding) are used to put multiple cards into the game, each built out of a reusable “card” View. A simple demonstration of handling a tap gesture gets the cards flipping over and a couple of buttons are added to the user-interface to control the number of cards in the game.
    Course materials (homework assignments and demo code) are available at cs193p.stanfor....

КОМЕНТАРІ •