没有合适的资源?快使用搜索试试~ 我知道了~
Mocha:Objective-C JavaScript Bridge 和脚本环境
共99个文件
h:48个
m:32个
pch:4个
需积分: 9 0 下载量 124 浏览量
2021-06-03
07:52:06
上传
评论
收藏 3.78MB ZIP 举报
温馨提示
摩卡 Objective-C / JavaScript Bridge 和脚本环境 Mocha 是一个将 JavaScript 连接到 Objective-C 的运行时。 它建立在 JavaScriptCore(负责解析和评估 JavaScript 代码的 WebKit 组件)和 BridgeSupport 之上,BridgeSupport 使库能够公开其 C 结构和函数的定义,以便在运行时(而不是编译时)使用. 用法 Mocha类的实例是运行时的表示。 可以通过共享实例(从+sharedRuntime返回)或通过调用-init创建实例来使用运行时。 值和盒装对象 当参数在桥的 Objective-C 和 JavaScript 端之间传递时,它们可能被隐式转换为适当的类型对应物或装箱在不透明的代理对象中。 在桥的每一侧之间移动时,以下类型约定有效: Objective-C 到 JavaScr
资源推荐
资源详情
资源评论
收起资源包目录
Mocha-master.zip (99个子文件)
Mocha-master
.gitignore 221B
Mocha.podspec 2KB
InstallPackage
Scripts
preinstall 304B
postinstall 289B
Mocha
Objects
MOStruct.h 2KB
MOPointerValue.h 967B
MOInstanceVariableDescription.h 1KB
MOProtocolDescription.h 4KB
MOPointer_Private.h 239B
MOJavaScriptObject.m 974B
MOBox.m 299B
MOStruct.m 3KB
MOPointer.m 382B
MOClassDescription.h 9KB
MOPropertyDescription.m 2KB
MOClosure.h 1KB
MOJavaScriptObject.h 1KB
MOInstanceVariableDescription.m 936B
MOMethodDescription.m 932B
MOPropertyDescription.h 2KB
MOObjCRuntime.h 2KB
MOClosure.m 1KB
MOBox.h 761B
MOPointerValue.m 931B
MOMethodDescription.h 968B
MOClosure_Private.h 210B
MOMethod.m 820B
MOObjCRuntime.m 2KB
MOProtocolDescription.m 13KB
MOMethodDescription_Private.h 406B
MOClassDescription.m 18KB
MOPointer.h 602B
MOMethod.h 904B
MOUndefined.m 434B
MOUndefined.h 608B
MOMethod_Private.h 324B
MOAllocator.m 307B
MOInstanceVariableDescription_Private.h 443B
MOAllocator.h 1022B
MOProtocolDescription_Private.h 307B
Mocha.m 157B
MochaDefines.h 602B
Utilities
MOFunctionArgument.h 3KB
MOMapTable.h 3KB
MOUtilities.h 1KB
MOUtilities.m 33KB
MOMapTable.m 5KB
MOFunctionArgument.m 38KB
Categories
NSObject+MochaAdditions.h 329B
NSOrderedSet+MochaAdditions.m 743B
NSArray+MochaAdditions.h 404B
NSDictionary+MochaAdditions.h 411B
NSObject+MochaAdditions.m 850B
NSOrderedSet+MochaAdditions.h 419B
NSDictionary+MochaAdditions.m 594B
NSArray+MochaAdditions.m 723B
Mocha.h 489B
MochaRuntime.m 57KB
MochaRuntime_Private.h 2KB
Mocha-Prefix.pch 151B
Mocha-Info.plist 970B
en.lproj
InfoPlist.strings 45B
MochaRuntime.h 7KB
BridgeSupport
MOBridgeSupportController.h 694B
MOBridgeSupportSymbol.h 5KB
MOBridgeSupportController.m 3KB
MOBridgeSupportParser.h 372B
MOBridgeSupportSymbol.m 8KB
MOBridgeSupportParser.m 14KB
MOBridgeSupportLibrary.m 2KB
MOBridgeSupportLibrary.h 696B
Mocha.hdoc 435B
README.mdown 18KB
Mocha.xcodeproj
project.pbxproj 99KB
.gitmodules 222B
moc
main.m 4KB
mocha-Prefix.pch 151B
Categories
NSFileHandle+MochaAdditions.h 289B
NSFileHandle+MochaAdditions.m 651B
MOCInterpreter.h 280B
MOCInterpreter.m 4KB
libMocha
JavaScriptCore
JavaScriptCore
JSStringRefCF.h 2KB
JSContextRef.h 5KB
JSObjectRef.h 37KB
JSBase.h 6KB
WebKitAvailability.h 32KB
JavaScriptCore.h 1KB
JavaScript.h 2KB
JSStringRef.h 6KB
JSValueRef.h 12KB
libiOSJavaScriptCore.a 10.26MB
libffi
libMocha-Prefix.pch 160B
UnitTests
MOUnitTests.h 233B
MOUnitTests.m 1KB
UnitTests-Prefix.pch 149B
Tests
CoreGraphics.js 1KB
MemoryAllocation.js 879B
en.lproj
InfoPlist.strings 45B
UnitTests-Info.plist 701B
共 99 条
- 1
资源评论
DGGs
- 粉丝: 15
- 资源: 4645
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功