Login
You're viewing the functional.cafe public feed.
  • Sep 9, 2026, 4:17 PM

    What!?

    I changed a Swift struct to a class, and I get this error when using a SwiftUI Picker using an array of my class objects:

    Unable to obtain a task name port right for pid 407: (os/kern) failure (0x5)

    Clean build, machine reboot, always the same. Change back to a struct and the Picker works again.

    #SwiftLang #SwiftUI

    💬 0🔄 2⭐ 0