净家伙需要在可可一些信息可可、家伙、信息

2023-09-03 08:25:46 作者:贩卖可爱

我想要做的OSX和iPhone一点点的发展。我一直在净/ C#开发多年。我想知道是否有任何人说曾在这两个平台上的经验,可以告诉我,他们是如何比较和对比。我想获得什么样的学习曲线,我有我的未来的想法。

I want to do a little development in OSX and the iPhone. I've been a .Net/C# developer for years. I was wondering if there was anybody that had experience in both platforms that could tell me how they compare and contrast. I'd like to get an idea of what sort of learning curve I've got ahead of me.

谢谢

杰夫

推荐答案

首先是坏: 我做了一些Cocoa开发的X $ C $℃。你会注意到的第一件事是IDE(X code)并不像直观,还是不错的,一般在任何地方,如Visual Studio中。在X code工作时,我真的很想念智能感知。苹果开发者可能会向下投我的发言。但是从.NET环境中来了,这就是我真的很想念。所以不要设置过高的期望,你会不会太失望。我不是想运行X code下来,只是没有像你一样的Visual Studio。

First the bad: I have done some Cocoa development in XCode. The first thing you will notice is that the IDE (XCode) isn't anywhere as intuitive, or nice in general, as Visual Studio. I really miss intellisense when working in XCode. The Apple developers will probably down-vote me for that statement. But coming from a .Net environment, that is what I really miss. So don't set your expectations too high and you won't be too disappointed. I am not trying to run XCode down, it just isn't as nice as Visual Studio.

现在好: 可可项目的总体架构是非常不错。我真希望的.Net WinForms和WPF使用MVC出像可可项目做的盒子。只要你遵循MVC模式,你应该做你的项目确定。一切我所做的是在目标C.你可能会拿起一本书上。我购买可可编程的Mac OS X ,并认为这是pretty的好。如果您有任何C在你的背景,它看起来很熟悉。从C#前瞻性,上课点号被替换类似的Tcl一个消息发送的符号。

Now the good: The general architecture of a Cocoa project is very nice. I do wish .Net Winforms and WPF used MVC out of the box like Cocoa projects do. As long as you follow the MVC pattern you should do OK with your project. Everything I have done is in Objective C. You might pick up a book on that. I purchased Cocoa Programming for Mac OS X and thought it was pretty good. If you have any C in your background, it will look very familiar. From a C# prospective, the dot notation for classes is replaced with a message-sending notation similar to Tcl.

获取iTunes在您的计算机上加载和下载iPhone开发视频在的iTunes U 。您还需要注册获得在苹果开发者程序和下载额外的比特X $ C $下的iPhone。

Get iTunes loaded on your machine and download the iPhone dev videos under iTunes U. You will also need to sign-up for the developer program at Apple and download the extra bits for XCode for the iPhone.

希望有所帮助。我绝不是一个亲可可开发。

Hope that helps. I am by no means a pro Cocoa developer.