Post

Replies

Boosts

Views

Activity

Reply to SwiftUI isPlaceholder not showing
In video "Build SwiftUI views for widgets" author use .isPlaceholder(false) to set view is not placeholder, but... It's not available >____< Value of type 'Text' has no member 'isPlaceholder' Xcode Version 12.0.1 (12A7300) @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *) extension View {     public func redacted(reason: RedactionReasons) -> some View     public func unredacted() -> some View }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’20
Reply to iPhone XS Max and iOS 14 broken HTTP/HTTPS connection at all
Never do next :) Settings -> Development -> Multi path network -> Switch On -> Set aggregate -> Switch Off :) This will break network connection at all :) If you found something like this in Console while iPhone is connected: nw_endpoint_flow_attach_protocols [C5228.1.1 IPv4#7016c7df:443 in_progress multipath-socket-flow (satisfied (Path is satisfied), interface: en0, ipv4, dns)] Failed to attach socket protocol Try to check this settings if you have Development menu enabled :) Have a nice evening :)
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’20
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 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