Post

Replies

Boosts

Views

Activity

Reply to Xcode 11.4: simulator title bar
I'm doing this as a workaround: Start taking a screenshot with Shift+Cmd+4 (or 5 or the Screenshot.app). Press Space to switch to window mode. Click on the Simulator window while holding the Alt key. This gives me a transparent background screenshot that includes the bezel and toolbar but without any shadows. I then crop out the window toolbar in Preview.
Nov ’20
Reply to Automatic capitalization of List section headers?
I think the iOS 14 behavior of capitalizing text inside List headers is consistent with the platform's general look and feel, and should be the default. For situations where I didn't want this behavior, I created the following extension for both iOS 13 and 14: extension View {     /// Neutralizes the iOS 14 behavior of capitalizing all text inside a List header     @ViewBuilder func unCapitalized() -> some View {         if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) {             self.textCase(.none)         } else {             self // no-op on iOS 13 et al.         }     } }
Oct ’20