by namelezz · 11y ago · 0 comments
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.