LUA实现iOS APP动态更新

Fakie是一个允许用LUA编写原生iPhone应用的框架,通过Objective-C运行时桥接两者。该框架使得所有Objective-C的功能在LUA中可用,简化了开发过程,支持在线热更新。文章介绍了为何选择LUA而非Objective-C,提供了一些示例,并提及Fakie支持Lua 5.3.0及更高版本。


Fakie

Fakie is a framework that lets you write native iPhone apps in Lua. It bridges Objective-C and Lua using the Objective-C runtime. With Fakie, anything you can do in Objective-C is automatically available in Lua! What are you waiting for, give it a shot!

Why write iPhone apps in Lua?

I love writing iPhone apps, but would rather write them in a dynamic language than in Objective-C. Here are some reasons why many people prefer LUA over Objective-C...

  • Online Patching Aka Hot Patching
  • Less Header File
  • It's very easy

Examples

For some simple Fakie apps How would I create a tableView and initialize it?

/**
 Fakie provide a usefull function called FakieCreateInstance
 you can use this function to create any instance of class.
 colon is used for sending a messag
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值