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.
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.
Nov ’21