2
0
mirror of synced 2025-02-24 15:28:28 +00:00
Elias Naur 6a96d4c7cf bind: make the default name prefix empty on ObjC
Since generated names now have their package names prefixed, the
extra prefix, "Go", is both confusing and counter-productive to
making the generated ObjC code look like any other native code.

Change the default to the empty prefix, while preserving support
for an explicit prefix if needed.

This is a backwards incompatible change; to keep the old behaviour,
specify "-prefix Go" to the gobind or gomobile command.

While we're here, fix the Ivy example for the recent change in
error returns.

Change-Id: I7fef4a92a18ddadee972ccf359652e3b31624f33
Reviewed-on: https://go-review.googlesource.com/34643
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
2016-12-24 13:37:27 +00:00
..

Ivy iOS App source

This directory contains the source code to the Ivy iOS app.

To build, first create the mobile.framework out of the Go implementation of Ivy. Run:

go get robpike.io/ivy
gomobile bind -target=ios robpike.io/ivy/mobile

Place the mobile.framework directory in this directory, and then open ivy.xcodeproj in Xcode.