Skip to content

valentinpurrucker/Memorize-Swift-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Memorize-Swift-App

Stanford CS193p (Developing Applications for iOS using SwiftUI) course

This repository contains the code for the popular Stanford iOS Programming course (SwiftUI) (https://cs193p.sites.stanford.edu/)

It contains code for a memory game that uses Swift features like ViewModels, Modifiere, ViewBuilder, Extensions, Animation, Generics, ...

Structure

Lecture 1

  • Setup the environment
  • get to know XCode and Swift

Video (https://youtu.be/bqu6BquVi2M)

Lecture 2

  • Work with Lists of items on screen
  • make use of SwiftUI States
  • implement Card UI
  • add different themes to the UI

Video (https://youtu.be/3lahkdHEhW8)

Lecture 3

  • basics of Generics and Protocols
  • introduction into Swift MVVM architecture
  • implement logic for creating a game

Video (https://youtu.be/--qKOhdgJAs)

Lecture 4

  • implement game logic in model
  • working with optionals and enums

Video (https://www.youtube.com/watch?v=oWZOFSYS5GE&ab_channel=Stanford)

Lecture 5

  • Code cleanup by using features like computed properties
  • explanation of the most popular SwiftUI layouts and its features (space offering, flexible sizing, etc.)

Video (https://www.youtube.com/watch?v=ayQl_F_uMS4&ab_channel=Stanford)

Lecture 6

  • Protocols and its use cases
  • introduction into SwiftUI Shapes

Video (https://www.youtube.com/watch?v=Og9gXZpbKWo&ab_channel=Stanford)

Lecture 7

  • building custom ViewModifiers
  • make modifiers available as extension to View
  • implicit, explicit, transition Animations

Video (https://www.youtube.com/watch?v=PoeaUMGAx6c&ab_channel=Stanford)

About

Stanford CS193p (Developing Applications for iOS using SwiftUI) course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages