Post

Replies

Boosts

Views

Activity

Comment on An alternative Swift method to PHP `pack()` method
As already noted, there's no direct equivalent of PHP pack() in any of Apple's frameworks and I have never find any third party libraries implementing PHP pack() in Swift. You may need to implement it all by yourself. When you write questions focused on some specific parts of your implementation with showing your code, many readers would try solving the issues.
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
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 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