Post

Replies

Boosts

Views

Activity

Reply to iPadOS 17.1 SwiftUI DatePicker with onTapGesture
Hi everyone! temporary workaround by Roy Rodney add .onTapGesture modifier with count, for example DatePicker( "Foo", selection: $date, displayedComponents: .date ) .onTapGesture(count: 99, perform: { // overrides tap gesture to fix ios 17.1 bug }) see link below for more detail https://stackoverflow.com/questions/77373659/swiftui-datepicker-issue-ios-17-1
Feb ’24
Reply to swift-frontend memory usage
Hey! I experienced a similar problem too. The swift-frontend and SourceKitService processes were overloading memory incrementally. I managed to find what caused this error. But I do not understand the true reasons for this problem. For fun, I tested build with different values. In my case, the memory overload occurred due to the fact that after Text () there was .padding (with value) followed by .foregroundColor (with RGB). For clarity, I made a screenshot from Xcode: Take a look. Maybe someone is also getting an error because of this, and you can get through this problem. Although for me it is a mystery why this is happening.
Oct ’21