因为我们有 xcode,airplay sdk 的实用程序是什么?

发布于 2024-10-20 10:07:47 字数 83 浏览 1 评论 0原文

虽然我们可以在X-code中开发iPhone应用程序,

但为什么我们需要使用Airplay-sdk?

有人能区分它们吗?

Though we can develop the i-phone application in the X-code

Why we need to use the Airplay-sdk?

can anybody differentiate between them?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

伴我心暖 2024-10-27 10:07:47

我使用 Airplay SDK(参见 www.immortalcode.com),效果很好。他们的代码一直在发展,但现在已经相当可靠了。对我来说最大的优势是能够将我的源代码保留在 C++ 中,并且能够在多个平台上使用单一代码库。我已经在 Windows 上通过 Visual Studio 构建了多平台游戏(iPhone、Android、bada、Windows)。 Airplay SDK 的主要警告是您可能无法访问给定平台上通常拥有的所有功能。特别是,您可能无法获得本机 UI 外观和感觉,并且您可能没有重要的选项,例如使用您选择的广告提供商。我的理解是,他们最近在 iPhone 和 Android 上开放全系列原生 API 方面取得了长足的进步,但我仍然认为,当涉及到某些高度依赖于平台的东西时,可能会出现问题。同样,与某些广告提供商合作是主要的例子。

I use Airplay SDK (see www.immortalcode.com) and it works well. Their code has been evolving, but it is pretty solid now. The big advantage for me is to be able to keep my source code in C++, and to be able to use a single code base for multiple platforms. I have built multiplatform games (iPhone, Android, bada, Windows) all from Visual Studio on Windows. The main caveat with Airplay SDK is that you may not get access to all the functionality you would normally have on a given platform. In particular, you probably won't get the native UI look and feel, and you may not have important options like using the ad provider of your choice. My understanding is that they've recently made strides in opening up the full range of native APIs on iPhone and Android, but still I think there will likely be problems when it comes to certain highly platform dependent stuff. Again, working with certain ad providers comes to mind as the main example.

枫以 2024-10-27 10:07:47

不需要使用AirPlay SDK。没有它你也可以编写 iPhone 应用程序。

Airplay 是一个跨平台开发解决方案,允许您为 iOS、Android 以及其他智能手机和平板设备编写应用程序。

它与 Xcode 的不同之处在于,Xcode 是一个集成开发环境 (IDE),支持编写(主要但不仅限于)Mac OS 和 iOS 应用程序。

Airplay 是一个软件开发工具包 (SDK)。它本身并不是一个 IDE。您仍然需要使用 IDE 来编写应用程序,并且 Airplay 似乎可以与 Windows 上的 Visual Studio 和 Mac OS X 上的 Xcode 一起使用。

Airplay 似乎使用 C++ 作为其主要语言,通过某种包装纸。它似乎还有自己的 UI 库,这意味着您的应用程序在所有设备上看起来都相同,但与为每个各自平台原生编写的其他应用程序不同。

You don't need to use the AirPlay SDK. You can write an iPhone app without it.

Airplay is a cross platform development solution allowing you to write applications for iOS, Android and other smart phone and tablet devices.

It differs from Xcode in that Xcode is an Integrated Development Environment (IDE) with support for writing (mainly, but not only) Mac OS and iOS applications.

Airplay is a Software Development Kit (SDK). It is not in itself an IDE. You still need to use an IDE in order to write applications, and it appears that Airplay works with both Visual Studio on Windows and Xcode on Mac OS X.

It appears that Airplay uses C++ as it's main language, providing access to iOS APIs through a wrapper of some kind. It also appears to have its own UI library, meaning your app will look the same on all devices, but not the same as other apps written natively for each respective platform.

自控 2024-10-27 10:07:47

Airplay SDK是一个支持多种移动平台的C/C++编程环境。它由多个针对各种移动操作系统和控制台(其中包括 Iphone、Android 和 Symbian)的本机库的包装器以及与 Visual studio(在 Windows 上)和 Xcode(在 Mac 上)集成的交叉编译器(幕后的 gcc)组成。包装器在所有支持的操作系统之间提供统一的编程接口。基本上,您在桌面上进行开发,然后只需单击一下即可在多个平台上进行部署。该 SDK 相当完整,涵盖 3D 和 2D 图形、基本 UI 框架、声音和资源管理设施等。主要缺点是不支持多线程,并且使用给定操作系统的本机功能可能会出现问题。此外,GUI 系统无法提供与 Iphone 或 Android 上相同的优雅、外观和感觉。在 Android、Iphone 和 Windows 上,有一种扩展机制允许链接本机库。我正在用它开发一个以Iphone和Android为主要目标的2d平台。我发现 Airplay 提出的编程模型非常适合视频游戏,但对于 GUI 密集型应用程序来说可能不方便。然而,该框架非常可靠并且运行良好,我还没有发现错误,因此代码经过了良好的测试。如果您打算开发多平台游戏,那么您绝对应该尝试一下。如果您需要更多地控制幕后发生的事情并且您想使用本机功能,我也会考虑 COCOS2D-X (http://www.cocos2d-x.org/) 作为替代方案。
该项目仍然不成熟并且存在一些错误,但我已经尝试过并且发现它非常有前途。此外,您拥有完整的源代码:如果您发现错误或需要扩展,您可以自由提供自己的解决方案。

Airplay SDK is a C/C++ programming environment that supports multiple mobile platforms. It consists of several wrappers to native libraries for various mobile OSes and consoles ( Iphone, Android and Symbian amongst them ) and of a cross compiler ( gcc under the covers ) that integrates with Visual studio ( on Windows) and Xcode ( on Mac ). The wrappers provide an uniform programming interface among all supported operative systems. Basically you develop on your desktop and then you deploy on multiple platforms with a single click. The SDK is fair complete covering 3D and 2D graphics, a basic UI framework, sound and resource managment facilities for example. The main drawback is that multithread is not supported and that it may be problematic to use native features of a given OS. Also the GUI system doesn't provide out of the box the same elegance and look and feel one can found on the Iphone or Android. On Android, Iphone and Windows there is an extension mechaninms that allows one to link native libraries. I am using it to develop a 2d platform with Iphone and Android as the main targets. I found that the programming model proposed by Airplay suits a videogame very well but it may be inconvenient for GUI-heavy applications. However the framework is extremely solid and works well and I haven't found bugs so the code is well tested. If you are planning to develop a multi-platform game you should definitely give it a try. If you need to have more control on what happens under the covers and you would like to use native features I would also consider COCOS2D-X (http://www.cocos2d-x.org/) as an alternative.
The project is still immature and has a few bugs but I have tried it and I found it extremely promising. Moreover you have full source code: if you find a bug or need an extension you are free to provide your own solution.

你如我软肋 2024-10-27 10:07:47

Marmalade / AirPlay SDK 将在即将发布的版本中提供对本机 UI 的访问。请访问 http://www.madewithmarmalade.com/marmalade/releases-and 查看他们的路线图-路线图

Marmalade / AirPlay SDK will be providing access to native UI's in a forthcoming release. Check out their road map at http://www.madewithmarmalade.com/marmalade/releases-and-roadmap

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文