Post

Replies

Boosts

Views

Activity

Reply to WeatherQueries with start/end dates not returning forecast for those dates
I just tried Xcode Beta 6 and iOS beta 7 -- no change. Will this be fixed before production? If I do not have a chance to verify that it works before I submit to the App Store I will have to remove the functionality from my app. It turns out that it is working now, but just not the way I expected. It looks like the query only uses the "date" and returns 24 hourly forecasts when I specify a start/end date that is the same. Hmmm.
Topic: App & System Services SubTopic: General Tags:
Aug ’22
Reply to SwiftData Configurations for Private and Public CloudKit
Can someone from Apple say whether or not SwiftData will support private, public, and shared databases when it goes live with iOS 17? Or any information regarding when it will have support in the future? I don't see the value in migrating "some" of my CoreData code to SwiftData as it just means I have two different APIs to worry about, and others on my team will have to learn both in order to support persistence. Thanks.
Aug ’23
Reply to DiffableDataSource failing to reconfigure cell
Sorry for the lack of additional details, but boss says I can't post any IP :( I hear what you are saying regarding what could happen in your Widgets example. We should not be in that situation, but I will triple check with our data folks to make sure the id we are using is not changing. However, if you look at the following snippet you can see that I check to make sure the itemIdentifiers array contains the item immediately before calling reconfigureItems() method. I did verify that we only operate on the items when on the main queue so there should be no threading issues. I also see the same rare crash when I was using the reloadItems() method. I will continue to scratch my head to see what is going on, but it sounds like you are saying there probably is not a problem with reconfigureItems(). Would that be accurate? var snapshot = dataSource.snapshot() if snapshot.itemIdentifiers.contains(leadModel) { snapshot.reconfigureItems([leadModel]) dataSource.apply(snapshot, animatingDifferences: true) }
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’23