Introducing Golden Gate
Emil Sjolander / February 24, 2015
You should clearly see that a lot can go wrong here which the compiler won’t catch. For example you could misspell
alert or maybe
myString isn’t a string at all.
GoldenGate allows for the compiler to have your back. The same code as above written with GoldenGate looks like this.
void alert(String message);
@Bridge which is where the magic happens. This will generate a class named
There are a couple more options for more advanced usage that we won’t cover in this blog post but they are well documented over on Github.
At Flipboard we love the type safety GoldenGate gives us and we think it can help more developers using both native and web technology in their apps. Head over to the Github repository to check out the code. Pull requests are very welcome!