TVML 与 Apple TVOS 的自定义应用程序 [英] TVML vs Custom App for Apple TVOS

查看:37
本文介绍了TVML 与 Apple TVOS 的自定义应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与 Apple TVOS 的自定义应用程序(基于媒体的应用程序而非游戏)相比,使用 TVML 有什么优势吗?从我从 Apple 的文档中读到的内容中,我想不出任何这样的优势(尽管它主要谈论的是 TVML/TVJ).

Are there any advantage of using TVML over custom App (media based App not a game) for Apple TVOS? From what I read from Apple's documentation I could not figure out any such advantage (though it mostly talks about TVML/TVJs).

对于 iOS(Swift、Objective C)开发者来说,使用自定义似乎更简单、更快捷,而且有更多的可能性.

For iOS (Swift, Objective C) developers, using custom seems like easier, faster and with more possibilities.

我认为 Apple 提供的任何模板都可以使用 UIKit 构建,因为它在内部是 UIKit.对吗?

I think whatever templates are provided by Apple can be build using UIKit because internally it is UIKit. Right?

[更新]

让我重新表述我最初的问题,因为到目前为止的答案没有给出任何支持自定义应用程序的观点.我同意@shirefriendship 有一些支持 TVML 的真正有效的观点(最大的一点是-> 应用程序更改可能无需应用程序更新).使用自定义比 TVML 有什么优势吗?像 TVML 无法触及的任何东西?

Let me rephrase my original question as the answers so far are not given any points in favour of custom App. I agree that @shirefriendship has some real valid points in favour of TVML (biggest one is- > App changes possible w/o an App update). Are there any advantages of using custom over TVML? Like anything not in reach of TVML?

推荐答案

已经使用 TVML/JS 构建了一个应用程序,现在正在开发一个本机应用程序,我想说 Javascript 选项更适合初学者或基本应用程序.

Having already built an application using TVML/JS and now working on a native application I would say that the Javascript option is aimed more towards beginners or basic applications.

TVML 应用程序提供了一种更简单、更快捷的方式来构建具有通用功能/用户界面的标准应用程序.我们用它来快速构建应用程序的原型.既然我们已经启动了应用程序并且它得到了一些提升(在看什么"和英国热门免费应用程序"中介绍),我们现在正在本地重建它以添加其他功能,例如分析、崩溃报告、自定义界面和其他位以增加重新- 流通和定制推荐.

TVML applications provide an easier, faster way to build standard applications with common features/user interface. We used it to rapidly build a prototype of an application. Now that we've launched the application and it's getting some uplift (featured in What to Watch and Top Free Apps UK) we are now rebuilding it natively to add additional features such as analytics, crash reporting, custom interfaces and other bits to increase re-circulation and custom recommendations.

@shirefriendship 的回答很好地解释了 TVML 应用程序的好处,我认为这对于初学者、原型应用程序甚至基本应用程序来说都是一个不错的选择.

@shirefriendship's answer provides a good explanation to the benefits of TVML applications and I think this is a good option for beginners, prototype applications or even basic applications.

本机应用程序提供了对应用程序外观、工作和感觉的更多控制.可以访问大多数 iOS SDK 使您可以做更多的事情,例如集成 Cloudkit、开发 2D 和3D 游戏等等.

Native applications provide alot more control over how the application looks, works and feels. Having access to most of the iOS SDK's allows you to do more such as integrating Cloudkit, develop 2D & 3D games and more.

一旦我们完成了原生 TV 应用程序的开发,我将使用更多信息更新答案,例如两个不同版本之间的开发时间、应用程序中的功能等.

Once we have finished development of our native TV application I'll update the answer with some more information such as development time between the two different versions, features in the application etc.

更新:要回答您的第二个问题,是的,您几乎可以使用 UIKit 开发任何用户界面/模板,TVML 模板提供了常用/非常方便的用户界面.使用 UIKit,您可以复制或自定义任何预定义的模板或构建全新的内容.

UPDATE: To answer your second question, yes you can pretty much develop ANY user interface / template using UIKit, the TVML templates provide user interfaces that would be commonly used / quite handy. Using UIKit you could replicate or customize any of the pre-defined templates or build something completely new.

这篇关于TVML 与 Apple TVOS 的自定义应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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