Updated iOS (markdown)

Hajime Hoshi 2016-08-01 23:55:02 +09:00
parent c4d730d725
commit 9265664fd2

2
iOS.md

@ -16,7 +16,7 @@ Use `gomobile bind`, generate an .framework file and import this to your Xcode a
## Implement Objective-C classes
The below implementation implements a GLKView class and its Renderer class. When the view's `glkView:drawInRect:` is called, the size of view is calculated and the game starts if the game doesn't start yet.
The below implementation implements a GLKView class and its Renderer class. When the view's `viewDidLayoutSubviews` is called, the size of view is calculated and the game starts if the game doesn't start yet.
For an actual example, see [go-inovation's ViewController.m](https://github.com/hajimehoshi/go-inovation/blob/master/mobile/ios/goinovation/ViewController.m).