1

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 suggest me.. Thanks everyone..

EmptyStack
  • 51,274
  • 23
  • 147
  • 178

3 Answers3

3

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.)

Chuck
  • 234,037
  • 30
  • 302
  • 389
2

Foundation is the one that you want

On xcode 4.4 its under OSX -> Application -> Command Line Tool

And change the option to Foundation

sss3d
  • 171
  • 1
  • 4
0

This SO link from David Gelhar's comment on my question has the answer for this question.

Community
  • 1
  • 1
EmptyStack
  • 51,274
  • 23
  • 147
  • 178