Post

Replies

Boosts

Views

Activity

Reply to How do you apply a diffable data source UI snapshot only after awaiting (with async/await) data fetched from the network?
I think you found work solution, by the way: Task { await MatchHistoryController.shared.fetchMatchRecords() if Task.isCancelled == false else { return } await MainActor.run { [weak self] in self?.dataSource.apply(self.initialSnapshot(), animatingDifferences: false) } } But what about if you need to apply datasource in global queue, and do it in UIViewController which bordered as @MainActor :) I have got warn UICollectionViewDiffableDataSource is not @Sendable :)
Topic: UI Frameworks SubTopic: UIKit Tags:
Sep ’23
Reply to Test In-App purchase on AdHoc build
@PBK Hello, what about if you have test department which should test subscription workflow? How to test auto-renew subscription on device of testers which use AdHoc build. Also they want to change auto renew subscribe period over appstoreconnect accout, for control time of testing ?)
Topic: App & System Services SubTopic: StoreKit Tags:
Sep ’23
Reply to Xcode hangs on git network operations
Also have problem with git fetch from Xcode, in terminal all work good.
Replies
Boosts
Views
Activity
2w
Reply to How do you apply a diffable data source UI snapshot only after awaiting (with async/await) data fetched from the network?
I think you found work solution, by the way: Task { await MatchHistoryController.shared.fetchMatchRecords() if Task.isCancelled == false else { return } await MainActor.run { [weak self] in self?.dataSource.apply(self.initialSnapshot(), animatingDifferences: false) } } But what about if you need to apply datasource in global queue, and do it in UIViewController which bordered as @MainActor :) I have got warn UICollectionViewDiffableDataSource is not @Sendable :)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Test In-App purchase on AdHoc build
@PBK Hello, what about if you have test department which should test subscription workflow? How to test auto-renew subscription on device of testers which use AdHoc build. Also they want to change auto renew subscribe period over appstoreconnect accout, for control time of testing ?)
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Sep ’23