gpt4 book ai didi

c++ - C/C++/ObjC/Swift/JS 是 Apple 唯一允许的 iPhone 开发语言吗?

转载 作者:可可西里 更新时间:2023-11-01 15:25:04 25 4
gpt4 key购买 nike

根据 this post在 Daring Fireball 上,新的 iPhone SDK 协议(protocol)与今天发布的 iPhone OS 4.0 一起发布,特别禁止任何未在 C、C++ Objective-C 或 JavaScript 中实现的 iPhone 应用程序。这里的明显影响是对用这些语言以外的语言编写的大量程序。

您对新协议(protocol)条款的解读也是如此吗?

更新:这是印在 Daring Fireball 上的条款:

3.3.1 — Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs. Applications must be originally written in Objective-C, C, C++, or JavaScript as executed by the iPhone OS WebKit engine, and only code written in C, C++, and Objective-C may compile and directly link against the Documented APIs (e.g., Applications that link to Documented APIs through an intermediary translation or compatibility layer or tool are prohibited).

最佳答案

自从他们首次开放 cocoa touch 以来,这一直在 apple 和开发人员之间造成摩擦。

Commodore 64 问题: http://gizmodo.com/5354422/commodore-64-iphone-app-approved-removed

c-64 模拟器允许访问基本的 CLI 并被 apple 删除。

Lua列表上也有很多讨论: http://lua-users.org/lists/lua-l/2009-10/msg00015.html

Lua 可以从 c 源代码构建在 iPhone arm 处理器上,那么这被认为是 c 还是 Lua?

一些使用 Lua 的应用已经被接受: http://tuomaspelkonen.com/2010/03/why-lua-truly-rocks/

Unity 使用脚本语言作为其 API 的一部分,许多 Unity 游戏已被接受: http://unity3d.com/gallery/game-list/

...包括 Zombieville,它“在 Apple 的 iTunes Rewind 2009 中被公认为年度最畅销游戏之一”。

目前我看不到他们删除所有这些游戏。

人们最沮丧的是似乎没有一个单一的标准来判断什么是可以接受的,什么不是。像 Adob​​e 和 Unity 这样的大玩家是否获得了使用脚本的特权,而小团体则没有?

关于c++ - C/C++/ObjC/Swift/JS 是 Apple 唯一允许的 iPhone 开发语言吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2603279/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com