Skip to content

Comment on See Android Goparent

Comments

How are they doing this? Is there some "transform" into C to use a subset of "objective c" going on?

Way back in like 2010 there was a clause added briefly to the iOS developer guidelines saying things had to be in Objective-C. There was an outcry and it disappeared not long afterward. Unfortunately, the idea that other languages can't be used persists. Shows how much damage a dumb political mistake can have, even if it's quickly walked back.

They are using this package https://godoc.org/golang.org/x/mobile/cmd/gobind to generate the libraries and bindings for objective c and java.

"NOTE: iOS support is not ready yet. " [ https://godoc.org/golang.org/x/mobile/cmd/gomobile ]

?

It works if you build from tip. Definitely not polished though.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.