1 // Copyright 2015-present 650 Industries. All rights reserved. 2 3 #import <UIKit/UIKit.h> 4 5 @class EXViewController; 6 @class EXKernelAppRecord; 7 8 @protocol EXViewControllerDelegate <NSObject> 9 10 - (void)viewController:(EXViewController * _Nonnull)vc didNavigateAppToVisible:(EXKernelAppRecord * _Nonnull)appRecord; 11 12 @end 13 14 @interface EXViewController : UIViewController 15 16 /** 17 * Invoked from `viewDidLoad` 18 */ 19 - (void)createRootAppAndMakeVisible; 20 21 @property (nonatomic, strong, nullable) UIViewController *contentViewController; 22 @property (nonatomic, weak, nullable) id<EXViewControllerDelegate> delegate; 23 24 @end 25