github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/mobile/example/bind/ios/bind/ViewController.m (about) 1 // Copyright 2015 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 #import "ViewController.h" 6 #import "hello/Hello.h" // Gomobile bind generated header file in hello.framework 7 8 @interface ViewController () 9 @end 10 11 @implementation ViewController 12 13 @synthesize textLabel; 14 15 - (void)loadView { 16 [super loadView]; 17 textLabel.text = GoHelloGreetings(@"iOS and Gopher"); 18 } 19 20 @end