MobiRuby

码农软件 · 软件分类 · iOS/iPhone/iPad开发包 · 2019-05-16 11:13:06

软件介绍

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

本文地址:https://www.codercto.com/soft/d/5857.html

500 Lines or Less

500 Lines or Less

Amy Brown、Michael DiBernardo / 2016-6-28 / USD 35.00

This book provides you with the chance to study how 26 experienced programmers think when they are building something new. The programs you will read about in this book were all written from scratch t......一起来看看 《500 Lines or Less》 这本书的介绍吧!

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具