commit | 9f4912738de8949beeb515dd488cf0f9ed3f41e2 | [log] [tgz] |
---|---|---|
author | Juan Pablo Civile <elementohb@gmail.com> | Fri Jan 25 14:26:00 2019 +0000 |
committer | Elias Naur <mail@eliasnaur.com> | Fri Jan 25 17:33:52 2019 +0000 |
tree | 6beeb9fb22eefd1f57731378d38d54ec168651fb | |
parent | dc0771356504be3250bf83d2383003b94fdb4796 [diff] |
bind: use property syntax for ObjC The current header generation uses old style Objective C getters/setters. This causes Swift to incorrectly bridge properties as methods. Using @property lets you write goObj.str = "value" (vs goObj.setStr("value")). Change-Id: I99d63743623734414edd50343dbdded52bdf2bf5 GitHub-Last-Rev: fb0ad7ec50d25ae5aa75ed729b04b95b99672f04 GitHub-Pull-Request: golang/mobile#27 Reviewed-on: https://go-review.googlesource.com/c/159618 Reviewed-by: Elias Naur <mail@eliasnaur.com>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.