Store的应用程序吗

Store的应用程序吗

本文介绍了您可以使用MacRuby来开发Mac App Store的应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对Objective-C有一些基本的了解,但是更喜欢Ruby,因此我正在考虑使用MacRuby.是否可以使用MacRuby为Mac App Store开发应用程序,还是必须使用Objective-C? (请注意,我现在不太在乎iOS/iPhone和iPad商店,只是在Mac OS X应用商店.)

I have some basic familiarity with Objective-C, but prefer Ruby, so I'm thinking of playing around with MacRuby. Is it possible to use MacRuby to develop applications for the Mac App Store, or do I have to use Objective-C? (Note that I don't care so much about iOS/the iPhone and iPad store right now, just the Mac OS X app store.)

推荐答案

简短的回答:是的,从技术上讲,您可以构建这样的应用程序.您需要重新查看商店准则,以了解必须满足哪些要求才能提交到各个商店.

Short answer: Yes, you can, technically, build such an app. You need to revisit the store guidelines to know what requirements must be met to submit to the various stores.

偶尔会出现这种情况;除了@NSResponder提到的准则外,现实情况是您将花费很多额外的&如果您决定使用MacRuby,则不需要的时间除非您计划在应用中使用大量已编写的Ruby代码.

This comes up sporadically; beyond the guidelines that @NSResponder mentioned, the reality is that you'll just be spending a lot of extra & unnecessary time if you decide to use MacRuby unless you plan on using some large chunk of already written Ruby code in your app.

学习Objective-C大约是成为有效的Cocoa开发人员所需的全部学习的2%.其余的98%包括从内存管理模型到标准习语(如KVC/KVO/代理,NIB文件以及无数类和内容)的所有内容.整个系统中的API.

Learning Objective-C is about 2% of the overall learning needed to be an effective Cocoa developer. The other 98% is everything from memory management model to standard idioms like KVC/KVO/delegation to NIB files to the myriad of classes & APIs throughout the system.

所有这些内容都是用Objective-C(或C)编写的,并有针对Objective-C的文档以及用Objective-C编写的示例.

All of those things are written in Objective-C (or C) with documentation targeting Objective-C and examples written in Objective-C.

同样,整个工具链都集中于验证,编译,建立索引,调试和操纵Objective-C.

As well, the entire tool chain is focused on validating, compiling, indexing, debugging, and manipulating Objective-C.

如果您想使用MacRuby来构建真正的Cocoa应用程序,则无论如何都要了解Objective-C.而且,您还必须处理桥接层中的所有错误和阻抗不匹配.

If you want to use MacRuby to build a real Cocoa app, you are going to have to know Objective-C through and through anyway. And you are going to have to deal with whatever bugs and impedance mismatch is in the bridge layer, too.

这篇关于您可以使用MacRuby来开发Mac App Store的应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 11:34