Can I run Objective-C programs (not iPhone/Mac projects) in Xcode like executing C programs?
I am working in Mac system. Is it possible to run Objective-C programs in Xcode? I am not talking about running iPhone/Mac projects. I am talking about simple Objective-C programs, like we run C programs in C editors. Does Xcode has the provision for this? Or, I have to use some other editors? Which editors I can use?
Please s开发者_JS百科uggest me.. Thanks everyone..
You don't need Xcode to run a program. You can just execute a program from the command line or by double-clicking. (You also do not need an editor to run a C program.)
Foundation is the one that you want
On xcode 4.4 its under OSX -> Application -> Command Line Tool
And change the option to Foundation
This SO link from David Gelhar's comment on my question has the answer for this question.
精彩评论