Software Dev

iOS Development Class at Stanford πŸŽ“

It’s looking easier than ever to learn from Stanford University. The Computer Science department has posted their latest class on Developing Apps for iOS online. 🀯.

It’s free. It has lecture videos, handouts, and assignments. As far as I can tell, you get everything but grades and a diploma. πŸ€·πŸ»β€β™‚οΈ. But feel free to make an app!

πŸ‘‰ CS193p – Developing Apps for iOS at Stanford

It currently covers SwiftUI, MVVM and the Swift Type System, Reactive UI Protocols Layout, and Grid enum Optionals.

Software Dev

Communication Patterns in SwiftUI

Are you wondering how to get some information from one component to another in SwiftUI? Too many options to consider? This helpful post walks you through all the scenarios.

πŸ‘‰ View Communication Patterns in SwiftUI

Cheat sheet:

  •  From Parent to Direct Child – Use Initializer
  • From Parent to Distant Child – Use Environment
  • From Child to Direct Parent – Use Bindings and Callbacks
  • From Child to Distant Parent – Use PreferenceKey
  • Between Children – Lift the State Up

Via iOS Dev Weekly.

Software Dev

Playbook

Developing features for a large, established app, I often run get slowed down trying to throw together a new screen. You have to find the right spot in the code to update, build the whole app (not just what you changed), log in, and drill down to the right spot to try out your creation. Something’s off? Do it all over again.

Which is why I love the idea of the Playbook library, which is “a library that provides a sandbox for building UI components without having to worry about application-specific dependencies.” Yass! 🀟

πŸ‘‰ Playbook on GitHub

Supports both SwiftUI and UIKit.

playbook

Via iOS Dev Weekly.