Right programing language for developing application for Mac

柔情痞子 提交于 2019-12-01 22:43:21

There really is only one choice and that's Objective-C and XCode, anything else and you'll be running into problems and/or limitations.

As some have mentioned Python is one suggestion but what GUI toolkit to use? Then packaging becomes a problem.

Mono is OK but still a little buggy (and slooooow) on Mac's.

I haven't tried Java but the Apple port of the Java VM has just beed deprecated, make of that what you will.

XCode is very very good and integrates nicely with Mac/iPhone/iPad etc. but Obj-C takes a while to learn coming from a C#/Java background, plus XCode forces you to use MVC patterns in everything which again can be a culture shock.

I would say go with Obj-C and XCode and learn something new.

Objective-C with Cocoa should be your first, second, and third choices. That being said the learning curve can be steep but half the fun of this business is learning something new.

At my job (Seapine Software) we extensively use C++ with the Qt framework on the Mac and it also seems to work fine. If I were starting out I'd definitely go with Objective-C.

It's Objective-C. But if you want a beautiful and easy language, you can use python with wxPython. It'll look as native and, furthermore, it will make your applications multi-platform.

For the GUI designer, check wxFormBuilder. It supports wxPython for exporting.

I'm an iOS developer & use Objective-C every day, but if I were writing an OS X app, I'd definitely try out MacRuby. However, there is little controversy that, at present, if you want to write OS X native apps, you eventually must learn Objective-C. Most, like myself, grow to like it. Moreover, on OS X you have the advantage that you can run it garbage-collected and possibly save yourself some bookkeeping.

Daniel Steinberg says it well in the introduction to his Cocoa Programming book:

Use Objective-C. Sure, you can write Cocoa applications in other languages. But for now, learn the native language. There is a lot of support for new developers on the various Apple lists and in the support documentation, tutorials, and sample code accessible from Xcode. You will have an easier time of getting your question answered if you use the lingua franca of Cocoa development.

Yes it's Objective C. But check this out.

If you are familiar with HTML, CSS and Java Script, you can build platform independent desktop apps using Electron by Github. It's indeed amazing. The desktop Apps like slack, atom, postman are built using this framework. Please refer: https://electron.atom.io/

You can also use Qt which is a great cross-platform application development framework that is based on C++. Please refer: https://www.qt.io/developers/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!