What is Matcha?
Matcha is a package for building iOS and Android applications and frameworks in Go. Matcha provides a UI compenent library similar to ReactNative and exposes bindings to Objective-C and Java code through reflection. The library also provides Go APIs for common app tasks.
Matcha requires the following components to be installed. Unfortunately only macOS is supported at this time.
- Go 1.8
- Xcode 8.3
- Android Studio 2.3
- Protobuf 3.3 - ObjC and Java
To start, fetch the project and install the matcha command.
go get gomatcha.io/matcha/...
This command will create the Go standard library for iOS and Android. This may take awhile. The output is installed at
$GOPATH/pkg/matcha. If your path doesn't contain $GOPATH/bin, you may need to replace these calls with
Now build the example project. The output is installed at
matcha build gomatcha.io/matcha/examples
Let's open the sample iOS project.
Learn more at GitHub.