mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 10:42:42 +01:00
Updated iOS (markdown)
parent
c4d730d725
commit
9265664fd2
2
iOS.md
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).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user