I wonder how Go can be better than Swift for iOS development.
It can be done, thus:
#cgo LDFLAGS: -Wl,-U,_iosmain,-U,_PopUpDialogBox
Any developer who wants to do this needs only to create these #cgo statements for whatever Cocoa API they want to use, and they become available from the Go context ..IIRC, Go can call any Objective-C code through cgo.