Post

Replies

Boosts

Views

Activity

Reply to Issue with DatePicker in Xcode 14
I can't get DatePicker to work either. with style set to .compact, the screen loads and I can tap on the picker. I can select day/month ok, but if I tap the top-left part of the picker to change year it hangs the app and gives this error. If I set the style to .wheel, it hangs immediately the page loads. import SwiftUI struct TestDate: View {       @State private var selectedFilingDate = Date()       var body: some View {     DatePicker("Date", selection: $selectedFilingDate, displayedComponents: .date) //                  .datePickerStyle(.wheel)   } } struct TestDate_Previews: PreviewProvider {   static var previews: some View {     TestDate()   } }
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’22
Reply to XCode 15.3 Command CompileAssetCatalog failed with a nonzero exit code
I just upgraded to Xcode 15.3 and have the same problem. Now my project won't build. How do I find which icon is the issue? The error message isn't pointing to which one/s
Replies
Boosts
Views
Activity
Apr ’24
Reply to Issue with DatePicker in Xcode 14
I can't get DatePicker to work either. with style set to .compact, the screen loads and I can tap on the picker. I can select day/month ok, but if I tap the top-left part of the picker to change year it hangs the app and gives this error. If I set the style to .wheel, it hangs immediately the page loads. import SwiftUI struct TestDate: View {       @State private var selectedFilingDate = Date()       var body: some View {     DatePicker("Date", selection: $selectedFilingDate, displayedComponents: .date) //                  .datePickerStyle(.wheel)   } } struct TestDate_Previews: PreviewProvider {   static var previews: some View {     TestDate()   } }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’22