Posts

Post marked as solved
3 Replies
Deleting the ModuleCache worked! A more generic (and safer) way to find and delete it would be: rm -rf "$(getconf DARWIN_USER_CACHE_DIR)clang/ModuleCache"
Post not yet marked as solved
17 Replies
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.
Post marked as solved
8 Replies
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.         }     } }