Watched Swift Talk # 171 A Parser Using SIMD and Bitwise Operations (Part 1). It’s so interesting how bit twiddling is used to find control characters in a string. It’s even more interesting that I have met similar trick last week in Python code which I am porting to iOS and couldn’t get how it works.

Tricks reminded me Bit Twiddling Hacks but applied to strings.

Code in Swift Talk # 171 above uses Swift function padding(toLength:withPad:startingAt:) which I have never used. Googling for it found that method description has what Apple calls a documentation bug: String padding method is broken?. Still not fixed. To be short, method is applied to code points, not characters. Which means this method could break strings with some emoji, e.g. Good to know and remember this.

From Supporting Low Data Mode in your app TIL that iOS 13 introduced Low Data Mode.

Read Fast app prototyping with SwiftUI.

Read Announcing Our iOS Fall Sale!.

Read Auditing Your Mac for 32-bit applications and go 64.