如何在 Titanium 中实时查看? [英] how to live view in Titanium?

查看:32
本文介绍了如何在 Titanium 中实时查看?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的团队在过去几个月一直在开发 Titanium,现在我们面临一个问题:当我们对 View 代码进行更改(更改其字体、背景或大小)时,需要很长时间(大约 1分钟),直到我们看到设备上显示的结果.这真是浪费时间.

My team have been developing Titanium in the past few months, and now we are facing a problem: when we make changes on the View code(change its font, its background or size) , it takes a long time ( about 1 minute ) until we see the result displayed on device. that is really a big waste of time.

我已经看到了 TiShadow,它很棒,但它只支持 js 代码(例如 Alloy.createTableList... ),不支持 Alloy XML(我的意思是一旦更改 .xml 或 .tss 文件,您就无法在屏幕上看到您所做的更改)

I saw the TiShadow already, it's great, but it only support js code( like Alloy.createTableList... ), doesn't support the Alloy XML( I mean you can't see your changes displayed on the screen once change the .xml or .tss file )

我也查了'forgedUI',可惜它只是一个UI设计工具,坏消息是它的官网被关闭了.

I also checked 'forgedUI', but unfortunately it's just an UI design tool, and the bad news is its official website is shut down.

为了减少编译时间,我为我的团队购买了 SSD 磁盘.编译时间确实从 60 秒减少到 40 秒.但还是太长了.

To reduce its compile time, I bought SSD disk for my team. The compile time indeed reduced from 60s to 40s. but it's still too long.

有什么好的工具可以让我们更快地调试钛吗?或者如何减少 Titanium 的编译时间?

Is there any good tool that could make us debug the titanium faster? or how to reduce Titanium's compile time?

推荐答案

我能够找到以下可用于 Titanium 的工具,以减少在设备/模拟器中测试应用程序所花费的时间.

I am able to find following tools which are available for Titanium to reduce the time taken to test the application in device/simulator.

  1. TiShadow:使用最广泛且开源.
  2. Rapiddev :目前仅适用于 ios 但正在快速发展中.
  3. LiveView:适用于企业版 Titanium.立>
  1. TiShadow : Most widely used and open source.
  2. Rapiddev : Currently only for ios but under rapid development.
  3. LiveView : Available with enterprise version of Titanium.

PS:使用 TiShadow,我能够测试在 tss/views 和控制器中所做的更改.监控终端(从那里触发 tishadow 命令)以查看重新编译代码的进度.

这篇关于如何在 Titanium 中实时查看?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆