main 0.1.0
gem 2 months ago
parent 6edba8c6e7
commit 403b3db7be
  1. 22
      Example/Pods/Local Podspecs/cocos_view_pod.podspec.json
  2. 7
      cocos_view_pod.podspec
  3. 0
      cocos_view_pod/Classes/ReplaceMe.swift
  4. 28
      cocos_view_pod/Classes/dcocos_bridge.h
  5. BIN
      cocos_view_pod/Libs/PhysX/libPhysXCharacterKinematic_static_64.a
  6. BIN
      cocos_view_pod/Libs/PhysX/libPhysXCommon_static_64.a
  7. BIN
      cocos_view_pod/Libs/PhysX/libPhysXCooking_static_64.a
  8. BIN
      cocos_view_pod/Libs/PhysX/libPhysXExtensions_static_64.a
  9. BIN
      cocos_view_pod/Libs/PhysX/libPhysXFoundation_static_64.a
  10. BIN
      cocos_view_pod/Libs/PhysX/libPhysXPvdSDK_static_64.a
  11. BIN
      cocos_view_pod/Libs/PhysX/libPhysXVehicle_static_64.a
  12. BIN
      cocos_view_pod/Libs/PhysX/libPhysX_static_64.a
  13. BIN
      cocos_view_pod/Libs/glslang/libGenericCodeGen.a
  14. BIN
      cocos_view_pod/Libs/glslang/libMachineIndependent.a
  15. BIN
      cocos_view_pod/Libs/glslang/libOGLCompiler.a
  16. BIN
      cocos_view_pod/Libs/glslang/libOSDependent.a
  17. BIN
      cocos_view_pod/Libs/glslang/libSPIRV-Tools-opt.a
  18. BIN
      cocos_view_pod/Libs/glslang/libSPIRV-Tools.a
  19. BIN
      cocos_view_pod/Libs/glslang/libSPIRV.a
  20. BIN
      cocos_view_pod/Libs/glslang/libglslang-default-resource-limits.a
  21. BIN
      cocos_view_pod/Libs/glslang/libglslang.a
  22. BIN
      cocos_view_pod/Libs/libboost_container.a
  23. BIN
      cocos_view_pod/Libs/libcocos_engine.a
  24. BIN
      cocos_view_pod/Libs/libcrypto.a
  25. BIN
      cocos_view_pod/Libs/libdcocos.a
  26. BIN
      cocos_view_pod/Libs/libfreetype.a
  27. BIN
      cocos_view_pod/Libs/libjpeg.a
  28. BIN
      cocos_view_pod/Libs/libpng.a
  29. BIN
      cocos_view_pod/Libs/libssl.a
  30. BIN
      cocos_view_pod/Libs/libtbb_static.a
  31. BIN
      cocos_view_pod/Libs/libtbbmalloc_proxy_static.a
  32. BIN
      cocos_view_pod/Libs/libtbbmalloc_static.a
  33. BIN
      cocos_view_pod/Libs/libuv_a.a
  34. BIN
      cocos_view_pod/Libs/libv8_monolith.a
  35. BIN
      cocos_view_pod/Libs/libwebp.a
  36. BIN
      cocos_view_pod/Libs/libwebsockets.a
  37. BIN
      cocos_view_pod/Libs/spirv-cross/libspirv-cross-core.a
  38. BIN
      cocos_view_pod/Libs/spirv-cross/libspirv-cross-glsl.a
  39. BIN
      cocos_view_pod/Libs/spirv-cross/libspirv-cross-msl.a

@ -0,0 +1,22 @@
{
"name": "cocos_view_pod",
"version": "0.1.0",
"summary": "A short description of cocos_view_pod.",
"description": "TODO: Add long description of the pod here.",
"homepage": "https://github.com/gem/cocos_view_pod",
"license": {
"type": "MIT",
"file": "LICENSE"
},
"authors": {
"gem": "cc@gmail2.com"
},
"source": {
"git": "https://github.com/gem/cocos_view_pod.git",
"tag": "0.1.0"
},
"platforms": {
"ios": "10.0"
},
"source_files": "cocos_view_pod/Classes/**/*"
}

@ -25,12 +25,15 @@ TODO: Add long description of the pod here.
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'gem' => 'cc@gmail2.com' }
s.source = { :git => 'https://github.com/gem/cocos_view_pod.git', :tag => s.version.to_s }
s.source = { :git => 'https://gitea.sdws.shop/xim/flutter_cocos_view_pod.git', :tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '10.0'
s.ios.deployment_target = '14.0'
s.source_files = 'cocos_view_pod/Classes/**/*'
s.vendored_libraries = "cocos_view_pod/Libs/**/*.a"
s.frameworks = 'AudioToolbox', 'AVFoundation', 'AVKit', 'CoreVideo', 'CoreMotion', 'CFNetwork', 'CoreMedia', 'CoreText', 'CoreGraphics', 'GameController', 'JavaScriptCore', 'Metal', 'MetalKit', 'MetalPerformanceShaders', 'OpenAL', 'OpenGLES', 'QuartzCore', 'SystemConfiguration', 'Security', 'UIKit', 'WebKit'
s.library = 'sqlite3', "iconv", "z"
# s.resource_bundles = {
# 'cocos_view_pod' => ['cocos_view_pod/Assets/*.png']

@ -0,0 +1,28 @@
//
// dcocos_bridge.h
// dcocos_bridge
//
// Created by gem on 29/8/2024.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "platform/ios/AppDelegateBridge.h"
@interface dcocos_bridge : NSObject
+ (dcocos_bridge *)instance;
- (void)initPlatform;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
- (void)applicationWillResignActive:(UIApplication *)application;
- (void)applicationDidBecomeActive:(UIApplication *)application;
- (void)applicationWillTerminate:(UIApplication *)application;
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator;
- (UIView*)getCocosView;
- (void)setCocosView:(UIView*)view;
- (float)getCocosPixelRatio;
+ (void)callS:(NSString *)funcName args:(NSString *)args;
@property(nonatomic, readonly) AppDelegateBridge *appDelegateBridge;
@end

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.
Loading…
Cancel
Save