AppDelegate.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /****************************************************************************
  2. Copyright (c) 2010-2013 cocos2d-x.org
  3. Copyright (c) 2013-2016 Chukong Technologies Inc.
  4. Copyright (c) 2017-2022 Xiamen Yaji Software Co., Ltd.
  5. http://www.cocos.com
  6. Permission is hereby granted, free of charge, to any person obtaining a copy
  7. of this software and associated engine source code (the "Software"), a limited,
  8. worldwide, royalty-free, non-assignable, revocable and non-exclusive license
  9. to use Cocos Creator solely to develop games on your target platforms. You
  10. shall not use Cocos Creator software for developing other software or tools
  11. that's used for developing games. You are not granted to publish, distribute,
  12. sublicense, and/or sell copies of Cocos Creator.
  13. The software or tools in this License Agreement are licensed, not sold.
  14. Xiamen Yaji Software Co., Ltd. reserves all rights not expressly granted to
  15. you.
  16. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  17. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  18. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  19. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  20. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  21. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  22. THE SOFTWARE.
  23. ****************************************************************************/
  24. #pragma once
  25. #import "platform/ios/AppDelegateBridge.h"
  26. #import <UIKit/UIKit.h>
  27. @class ViewController;
  28. @interface AppDelegate : NSObject <UIApplicationDelegate> {
  29. }
  30. @property(nonatomic, readonly) ViewController *viewController;
  31. @property(nonatomic, readonly) AppDelegateBridge *appDelegateBridge;
  32. @end