MobiRuby

程序名称:MobiRuby

授权协议: Apache

操作系统: iOS

开发语言: Ruby

MobiRuby 介绍

mruby是一款轻量级的Ruby实现,遵循ISO标准。它可以以解释的形式或者在VM上编译和执行形式运行。

示例代码:

class NSString < Mobi::Cocoa::Object
end

class UIAlertView < Mobi::Cocoa::Object
end

def _S(str)
NSString._stringWithUTF8String str
end

alert = UIAlertView._alloc \
._initWithTitle _S(“Hello”),
:message, _S(“I’m MobiRuby”),
:delegate, nil,
:cancelButtonTitle, _S(“I know!”),
:otherButtonTitles, nil
alert._show

MobiRuby 官网

http://mobiruby.org/

相关编程语言

BBGestureBack Full screen return gesture(全屏手...
Framework7 或者叫 F7 是全功能的绑定 iOS 7 应用的...
iOS 调试库,支持 iOS8+,无需添加任何代码,方便 i...
DarkModeKit是在Apple官方的深色模式发布之前设计和...
SimpleNote iOS 版客户端。SimpleNote 是一款在多平...
Kivy iOS,此工具旨在为 iOS 编译必要的库以运行应用...