blog.iankulin.com

Cs193p

@ScaledMetric

A short follow-up on fixing inconsistent SF Symbol heights in SwiftUI: locking the symbol height inside a frame solves the earlier problem, but breaks down when users change their text size. Apple’s @ScaledMetric property wrapper, introduced in iOS 14, scales the value with Dynamic Type and addresses that, though I admit not fully understanding how it works...

Memorise Assignment 1

My notes on completing the first assignment from Stanford’s CS193p SwiftUI lecture series, which involved minor changes to the app built in the lectures. My write-up covers an error that prevented me from initializing a @State property from an instance member, and some dissatisfaction with duplicated emoji arrays and SF Symbol alignment—issues I partly resolved after reading the assignment’s hints section and rewatching a lecture...

CS193p

My notes on working through Stanford’s CS193p SwiftUI lectures by Paul Hegarty, whose freely available course materials make it possible to follow along as a proper course. I made it to lecture 3, which was enough to build a minimum viable version of my own app, EasterDay, in Playgrounds, and I plan to return to the lectures while also learning GitHub...