Post

Replies

Boosts

Views

Activity

Reply to SwiftData and CloudKit not synching between devices
I believe I found the root cause: I had 2 entitlements files, one called ExpensesTest.entitlements and the other ExpensesTestRelease.entitlements The latter had the information about the CloudKit container in it while the other was missing those entries. After creating a new container and adding those values manually to ExpensesTest.entitlements it nows works like a charm again.
Oct ’25
Reply to Xcode 16 SwiftUI List Fast Scrolling Issue
Not sure if its related but I had a similar issue that was triggered because I was displaying a Text() element between the ForEach() and the Section() like ForEach(data) {header in Text(header) Section(){ } } Once I moved that Text() inside the Section() it worked like a charm.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’25
Reply to NavigationView scrolling broken when using TabView
Ok, changed it to struct ContentView: View { var body: some View { TabView{ Group{ List{ Text("Item 1") Text("Item 2") Text("Item 3") } } .tabItem { Image(systemName: "list.dash") Text("Transactions") } Group{ List{ Text("Item 11") Text("Item 12") Text("Item 13") } } .tabItem { Image(systemName: "list.dash") Text("Summary") } }.navigationTitle("Transactions") .navigationBarBackButtonHidden(true) } } and now it looks better but after switching to the other tab and back, its broken again (see clip below) https://imgur.com/a/BfiofU1
Topic: UI Frameworks SubTopic: SwiftUI Tags:
May ’22
Reply to SwiftData and CloudKit not synching between devices
I believe I found the root cause: I had 2 entitlements files, one called ExpensesTest.entitlements and the other ExpensesTestRelease.entitlements The latter had the information about the CloudKit container in it while the other was missing those entries. After creating a new container and adding those values manually to ExpensesTest.entitlements it nows works like a charm again.
Replies
Boosts
Views
Activity
Oct ’25
Reply to SwiftData and CloudKit not synching between devices
Thanks for all the advice! I just checked in the dashboard and even there I cannot even see the schema or any record types of my SwiftData model. The only record type that exists is "Users". I have already created a new container but that does not seem to make any difference. What could the reason be that not even the data model is pushed to CloudKit?
Replies
Boosts
Views
Activity
Oct ’25
Reply to Access the Apple Calculator exchange rate API?
Thanks, I have raised the suggestion here: FB20323581 I have also checked at the ECB and indeed, they have a public and free API for that one - thanks for the hint! :) https://data.ecb.europa.eu/help/api/data
Replies
Boosts
Views
Activity
Sep ’25
Reply to Xcode 16 SwiftUI List Fast Scrolling Issue
Not sure if its related but I had a similar issue that was triggered because I was displaying a Text() element between the ForEach() and the Section() like ForEach(data) {header in Text(header) Section(){ } } Once I moved that Text() inside the Section() it worked like a charm.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’25
Reply to NavigationView scrolling broken when using TabView
Ok, changed it to struct ContentView: View { var body: some View { TabView{ Group{ List{ Text("Item 1") Text("Item 2") Text("Item 3") } } .tabItem { Image(systemName: "list.dash") Text("Transactions") } Group{ List{ Text("Item 11") Text("Item 12") Text("Item 13") } } .tabItem { Image(systemName: "list.dash") Text("Summary") } }.navigationTitle("Transactions") .navigationBarBackButtonHidden(true) } } and now it looks better but after switching to the other tab and back, its broken again (see clip below) https://imgur.com/a/BfiofU1
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’22
Reply to This operation can fail if the version of the OS on the device is incompatible with the installed version of Xcode.
Confirmed, solution from stack overflow works perfect!
Replies
Boosts
Views
Activity
Apr ’22