Post

Replies

Boosts

Views

Activity

Comment on Freeze when deallocating large data structures
Sorry, I should have noted one important thing. I have not explored the open source part of Swift nor could not have used any debugging features. So, the part describing the current behavior is nothing more than just my guess. It may be caused by some bugs of the current implementation, you can send a bug report to swift.org .
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’21
Comment on I can't get a button to work, instead I get this error: "Accessing StateObject's object without being installed on a View. This will create a new instance each time." Help?
We need to guess what are AccountBackEnd and PublishedClassAccount. (Please show enough code when asking. > @tylerlw82) But according the other parts of your code, they seem to be ObservableObjects -- reference type. In almost all cases, using @Published would not work as you expect when used with reference types. You need to modify far more parts than shown in this answer.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’21
Comment on Does unifiedContacts(matching:keysToFetch:) return only unified contacts and leave out non-unified contacts?
@ShinehahGnolaum, I'm not sure why anyone would fetch just the unified contacts. You may be misinterpreting what unified contacts mean. Better take enough time before marking an answer as SOLVED, you cannot unmark it. And as the editing feature is very limited in the dev forums, you may need to use Your Answer when showing some code.
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’21
Comment on Subclassing a NSSearchField
you should better show more context (especially your code), to get better responses sooner Why don't you show your code enough to reproduce your issue? A few screen shots and very little explanation would not be appealing to many readers.
Topic: UI Frameworks SubTopic: AppKit Tags:
Nov ’21