This post continues my summary of lessons learned in implementing SwiftSquareCam, a Swift version of Apple’s SquareCam demo project. As described in my prior post, the original Objective-C code provided a number of core features: – taking input from either the front or back cameras, if both are present, and …

Video Preview and Facial Recognition in Swift, Part 2: Saving a Photo with Overlays Read more »

Recently I set out to implement Apple’s SquareCam demo app for iOS in Swift. The experience proved interesting for a number of reasons, one of which I’ve already discussed: Swift’s apparent preference for optional chaining in lieu of other error detection and handling …

Video Preview and Facial Recognition in Swift, Part 1: Affine Transforms Read more »

Much (virtual) ink has been spilled on the topics of learning Swift and transitioning from Objective-C to Apple’s new language, so I’ll keep this one light. While working on SwiftSquareCam (in progress), a number of Swift’s features (or idiosyncrasies) stood out, not merely for being different or new, but …

Swift’s Optional Chaining as an Experiment in Modifying Programmer Behavior Read more »

Tagged with: