简体   繁体   English

Visual Studio开发人员的Xcode快速入门

[英]Xcode quickstart for the Visual Studio developer

I would like to use Apple's Xcode IDE to develop applications on the OS X, but I find the UI immensely confusing because I am so used to developing in Visual Studio on Windows. 我想使用Apple的Xcode IDE在OS X上开发应用程序,但我发现UI非常令人困惑,因为我习惯在Windows上使用Visual Studio进行开发。

Does anyone know of any Xcode quickstart guides for the Visual Studio developer that map common tasks and functionality from one to the other? 有没有人知道Visual Studio开发人员的任何Xcode快速入门指南,它们将常见任务和功能从一个映射到另一个?

For example, I can't even work out how to launch the C/C++ command line tool being written in a new shell window (Terminal.app) ie what would happen if you pressed F5 in Visual Studio. 例如,我甚至无法弄清楚如何启动在新的shell窗口(Terminal.app)中编写的C / C ++命令行工具,即如果在Visual Studio中按F5会发生什么。

The Xcode 3 book is good, I agree. 我同意,Xcode 3书很好。 Specifically for learning the Xcode environment. 专门用于学习Xcode环境。

But, it's aim is to be compatible with Mac OS X 10.4, so there is no Garbage Collection or properties, etc being used. 但是,它的目标是与Mac OS X 10.4兼容,因此没有使用垃圾收集或属性等。

As a learning tool - you can have fun refactoring the code to use the features of the new OS. 作为一种学习工具 - 您可以轻松地重构代码以使用新操作系统的功能。

You would be better off (in my opinion) getting the Hillegass Cocoa Programming book and starting from there rather than trying to duplicate your VS workflow on a Mac. 获得Hillegass Cocoa编程书并从那里开始,而不是试图在Mac上复制VS工作流程,你会更好(在我看来)。

I'm in a similar situation to you - I use Visual Studio at work and XCode at home, so the differences can be quite frustrating. 我和你的情况类似 - 我在工作中使用Visual Studio,在家中使用XCode,因此差异可能非常令人沮丧。

One tool that may interest you, especially if you use Resharper, is the new Jetbrains "AppCode" project - see http://www.infoq.com/news/2011/04/jetbrains-appCode 您可能感兴趣的一个工具,特别是如果您使用Resharper,是新的Jetbrains“AppCode”项目 - 请参阅http://www.infoq.com/news/2011/04/jetbrains-appCode

It's a code editing IDE that offers vastly improved code analysis, fixing, navigation and refactoring features. 它是一个代码编辑IDE,提供了大大改进的代码分析,修复,导航和重构功能。 It's not a complete replacement for XCode - nib editing still needs done there - but IMO it's worth putting up with some switching between the two for the advantages it brings. 它不是XCode的完全替代品 - 笔尖编辑仍然需要在那里完成 - 但IMO值得在两者之间进行一些切换以获得它带来的优势。

As a Visual Studio user you'll feel immediately at home as the UI is much closer to VS than to XCode. 作为Visual Studio用户,您会立即感到宾至如归,因为UI更接近VS而不是XCode。

Currently their early access program is open so you can download alpha builds. 目前他们的早期访问程序是开放的,因此您可以下载alpha版本。

For viewing the shell when a command line app, that is done in the Console window, not in a terminal window. 用于在命令行应用程序中查看shell时,即在控制台窗口中完成,而不是在终端窗口中。 This allows full interaction with gdb. 这允许与gdb完全交互。 To open the Console window, hit Shift-Command-R to see the output of your program. 要打开控制台窗口,请按Shift-Command-R查看程序的输出。

If you would like Xcode to show the Console window when you start your app, go into preferences. 如果您希望Xcode在启动应用程序时显示控制台窗口,请进入首选项。 In the Debugger tab, there's a drop-down list labeled "On Start:" Select "Show Console" or "Show Console and Debugger" and they will open when you hit run. 在Debugger选项卡中,有一个标记为“On Start:”的下拉列表,选择“Show Console”或“Show Console and Debugger”,它们将在您运行时打开。

As far as a quickstart or tutorial, I'm not sure of any specific online tutorials, but you may want check out the book Xcode 3 Unleashed by Fritz Anderson. 至于快速入门或教程,我不确定任何具体的在线教程,但你可能想看看Fritz Anderson的Xcode 3 Unleashed这本书。

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

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