ViewController.m 437 B

1234567891011121314151617181920
  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. #import "ViewController.h"
  5. @import Hello; // Gomobile bind generated framework
  6. @interface ViewController ()
  7. @end
  8. @implementation ViewController
  9. @synthesize textLabel;
  10. - (void)loadView {
  11. [super loadView];
  12. textLabel.text = HelloGreetings(@"iOS and Gopher");
  13. }
  14. @end