Post

Replies

Boosts

Views

Activity

Reply to SwiftUI Table View is Crashing
Still occurring on random occasions in iOS 14.6 in several separate views using code: struct FilteredListView: View { @EnvironmentObject var numberState: NumberState @FetchRequest var numbers: FetchedResults<Purging>     private var downloadCompletePublisher = NotificationCenter.default         .publisher(for: .dataDownloadComplete)         .map { notification in             return notification.userInfo as! [DataSources.Source : Int]         }        .receive(on: RunLoop.main) var body: some View { List {     ForEach(Array(numbers.enumerated()), id: \.element.uuid) { index, number in         NavigationLink(destination: NumberDetailView(number: number)) {             NumberRowView(number: number)         }     } } .add(SearchBar(searchText: $numberState.searchText, "Search for N-numbers")) .id(numberState.refreshID) // <-- removing this seems to eliminate the issue     .onReceive(downloadCompletePublisher) { userInfo in             checkForUpdatedNumbers(userInfo: userInfo)         } } init(sorter: NumberSorter) { ... code to execute fetch request into _numbers } } obviously, we don't have access to the UITableView data source methods, but I'd like to know how to peek into SwiftUI's execution.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’21
Reply to Safari Web Extension does not load content script on iOS 15
It appears that content.js won't be injected into web pages that you have not given permission for. I am noticing that on iOS and macOS I have to go searching for a tiny yellow caution icon when permissions are set to 'Ask'. Selecting this caution icon, an alert-like box pops up asking to give permission for one day or permanently. I could not find the injected scripts in the debugging tools Sources, until after I gave permission. Then mysteriously, the extension started working again.
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’22
Reply to SwiftUI Table View is Crashing
Still occurring on random occasions in iOS 14.6 in several separate views using code: struct FilteredListView: View { @EnvironmentObject var numberState: NumberState @FetchRequest var numbers: FetchedResults<Purging>     private var downloadCompletePublisher = NotificationCenter.default         .publisher(for: .dataDownloadComplete)         .map { notification in             return notification.userInfo as! [DataSources.Source : Int]         }        .receive(on: RunLoop.main) var body: some View { List {     ForEach(Array(numbers.enumerated()), id: \.element.uuid) { index, number in         NavigationLink(destination: NumberDetailView(number: number)) {             NumberRowView(number: number)         }     } } .add(SearchBar(searchText: $numberState.searchText, "Search for N-numbers")) .id(numberState.refreshID) // <-- removing this seems to eliminate the issue     .onReceive(downloadCompletePublisher) { userInfo in             checkForUpdatedNumbers(userInfo: userInfo)         } } init(sorter: NumberSorter) { ... code to execute fetch request into _numbers } } obviously, we don't have access to the UITableView data source methods, but I'd like to know how to peek into SwiftUI's execution.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to iOS 14.4 simulator keeps asking for Apple id during XCTest execution
Seeing this also. It is rather annoying, often occurring 2-3 times per day per open simulator.
Replies
Boosts
Views
Activity
Jun ’21
Reply to Image error when converting a chrome extension
Try changing the folder name in the Project Navigator (greyed left area) to "images" (all lowercase). It looks like the first first letter is a capital.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to Safari Web Extension does not load content script on iOS 15
It appears that content.js won't be injected into web pages that you have not given permission for. I am noticing that on iOS and macOS I have to go searching for a tiny yellow caution icon when permissions are set to 'Ask'. Selecting this caution icon, an alert-like box pops up asking to give permission for one day or permanently. I could not find the injected scripts in the debugging tools Sources, until after I gave permission. Then mysteriously, the extension started working again.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’22
Reply to iOS 16.4 webview can not debug in safari web inspector
Also seeing this since upgrading to Xcode 16.4. Previously, it was working.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’23