Cupertino.js -


未知
OS X
Objective-C

软件简介

Cupertino.js 用来将 JavaScript 代码编译成 Cocoa。包含一个静态的编译器和动态运行环境。Cupertino.js 为
Objective-C 提供一个简单的接口。

调用 Objective-C 函数的示例代码:

var bottlesOnTheWall = NSString.stringWithFormat("%@ of beer on the wall", 99)
bottlesOnTheWall.lowercaseString()

//short hand
bottlesOnTheWall.lowercaseString