app/internal/window,cmd/gogio: [iOS] export GioViewController

The Gio GioAppDelegate created the GioViewController programmatically.
When using gogio's -buildmode=archive users may want to use a different
method (for example storyboards) but there can only be one app delegate.

Move the GioAppDelegate to gogio's exe buildmode, and export the
GioViewController for embedding use.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-06-26 15:47:00 +02:00
parent 79014a81d5
commit d97f7f9093
3 changed files with 17 additions and 26 deletions
+1 -3
View File
@@ -2,7 +2,5 @@
#include <UIKit/UIKit.h>
@interface GioAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@interface GioViewController : UIViewController
@end