Antiracist economist Kim Crayton says that “intention without strategy is chaos.” We’ve discussed how our biases, assumptions, and inattention toward marginalized and vulnerable groups lead to dangerous and unethical tech—but what, specifically, do we need to do to fix it? The intention to make our tech safer is not enough; we need a strategy. Article […]
When iterating over any Swift collection using a standard for loop, there are two key components that decide what elements that will be passed into our iteration code — a sequence, and an iterator. For example, Swift’s standard Array type is a sequence, and uses IndexingIterator as its iterator type. While we very often interact […]
The work of writing maintainable code is an ongoing endeavor and some of my favorite problems to solve are ones that build maintainable systems. Maintainable systems are ones you can learn once, easily manipulate, and ideally take from project to project. My favorite part of building maintainable systems is that it minimizes the amount of […]
Antoine van der Lee, creator of SwiftLee, joins John to discuss the new language features that are being introduced as part of Swift 5.5 — from the brand new concurrency system, to convenience features and various improvements. Stream: Build scalable in-app chat or activity feeds in record time using Stream’s open source, Swift-native SDK that’s […]
New in Swift 5.5: It’s now possible to define protocol APIs that let us use Swift’s very convenient “dot syntax” to create conforming instances, which in turn can make certain protocols act more like enums, while still retaining all of the flexibility that protocols give us. For example, when applying a style to a SwiftUI […]
A big part of the developer journey is make sure our code behaves as expected. It’s best practice to setup tests that allow us to test quickly and often that nothing is broken. If unit testing is common practice to check the business logic, we can also extend it to cover some specific UI behaviors. […]
Episode 120 (The Prairie Chicken in Wisconsin: Highlights of a Study of Counts, Behavior, Turnover, Movement, and Habitat) The Memory Palace is a proud member of Radiotopia, from PRX, a curated network of extraordinary, story-driven shows. Music We move between three different pieces from Camille Saint-Saens’: Suite, Op. 90: II Menuet, and two from Carnival of… Source […]
Amazon this week has the M1 MacBook Pro on sale in both 256GB and 512GB configurations, including a return to record low prices for both models. Prices start at $1,099.99 for the 256GB MacBook Pro, down from $1,299.00. You’ll see the discount after an automatic coupon worth $49.01 is applied at the checkout screen on […]
For the most part, it’s fair to say that modern iOS and Mac apps are expected to gracefully adapt to whether the user’s device is running in light or dark mode, which often requires us to use more dynamic colors within the UIs that we build. While Apple does make it fairly straightforward to declare […]
Accessibility traits on iOS is the system by which assistive technologies know how to present your interface to your users. The exact experience will vary between assistive technologies, in some cases they may change the intonation of what VoiceOver reads, or add additional options for navigation, sometimes they will disable that assistive technology from accessing […]