简体   繁体   English

开始使用OS X应用程序开发的最快方法?

[英]Quickest way to get started with OS X app development?

I need to build an application which will run on OS X, polling for data, and displaying that data full-screen in a purty, graphical way - generally "identifier: value" text in some sort of tabular format, but possibly with spark-lines to display historical changes, and "animations" (nothing fancy, just fading text and similar) to show updates. 我需要构建一个将在OS X上运行的应用程序,对数据进行轮询,然后以纯图形的方式全屏显示该数据-通常以某种表格格式显示“标识符:值”文本,但可能带有spark-行以显示历史更改,“动画”(没什么花哨的内容,只是淡化文本等)以显示更新。

However, I've no idea where to get started. 但是,我不知道从哪里开始。 I've no experience with desktop application development or development on a mac. 我没有进行桌面应用程序开发或在Mac上进行开发的经验。

Where/at what should I be looking for OS X development information which will get me quickly up-to-speed (coming from a web-dev background)? 我应该在哪里/在什么地方寻找OS X开发信息,这些信息将使我快速入门(来自Web开发背景)?

For OS X development, and a really nice overview that will get you writing actual applications quickly, I'm not sure anything can match Aaron Hillegass' book, Cocoa Programming for Mac OS X . 对于OS X开发,以及非常好的概述,它将使您快速编写实际的应用程序,我不确定是否有任何东西可以与Aaron Hillegass的书《 Mac OS X的可可编程 》相匹配。

It's considered by many to be the Bible of Cocoa programming, and it is example driven. 许多人认为它是可可编程的圣经,并且它是示例驱动的。 You are writing applications that you can actually run throughout. 您正在编写实际上可以始终运行的应用程序。

It is useful, although not as much so, for iPhone development, which you don't mention in your question, but you do in your tags. 它对iPhone开发很有用,尽管它不是那么有用,但您在问题中没有提到,但您在代码中就提到了。

If you really want to go native with OS X that will mostly mean learning Objective-C and Cocoa. 如果您真的想使用OS X原生,那将意味着学习Objective-C和Cocoa。 You get started by becoming an Apple Developer Connection (ADC) member and downloading XCode. 成为Apple Developer Connection (ADC)成员并下载XCode,即可开始使用。 Inside the ADC site there is a lot of information that will help you get started, Objective C reference, sample code, etc. . ADC站点内有很多信息可帮助您入门,Objective C参考,示例代码等。

Depending on your background you might want to consider using Adobe Air for your application, if you know Flex or Flash that might be easier for you to learn. 如果您了解Flex或Flash,可能会更容易学习,这取决于您的背景,可能需要考虑将Adobe Air用于您的应用程序。

There are also a couple of question already up on stackoverflow on this subject https://stackoverflow.com/search?q=learn+cocoa 关于这个主题的stackoverflow也已经有几个问题了https://stackoverflow.com/search?q=learn+cocoa

Take a look at http://www.realsoftware.com . 看一下http://www.realsoftware.com It's a cross platform development environment. 这是一个跨平台的开发环境。 Easy to learn, established user community, lot's of sample, shared code to get you started. 易于学习,建立用户社区,大量示例,共享代码可以帮助您入门。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM