How to use NSzombie in xcode?

What languages can you use in a multi-language project for iOS using Xcode?

  • When creating an iPhone app with Xcode you can use C++ and Obj-C in the same project. What other languages could you use?

  • Answer:

    In an iOS Application (built in Xcode), you can really only use Objective-C.  However because Objective-C is a superset of C, you are most likely already writing a good amount of C code.  C++ is also allowed.  The only other "language" I can think of is javascript, but that would only be to the extent that you could have a webview and evaluate javascript inside of it. There are certainly many other tools, like Xamarin which would let you write you app in a language other than Objective-C, but these come with their own IDE's

Jamie Matthews at Quora Visit the source

Was this solution helpful to you?

Other answers

If you are talking about XCode as a build system, bundling and text editing environment, you also have a few choices using other languages for which it doesn't provide a compiler. You can use any interpreter you like provided you bundle the interpreter and make sure the user cannot download code to run on it. That means you can code in Python, Ruby, Lua, Scheme... pretty much any interpreter on the planet has been ported to run on iOS (apart from the JVM and CLR for Java and C# bytecode). You can also use the Glasgow Haskell Compiler - see XCode 5 integration instructions: https://ghc.haskell.org/trac/ghc/wiki/Building/CrossCompiling/iOS. Slightly more work required to use the OCaml compiler invoked from XCode: http://psellos.com/ocaml/compile-to-iphone.html

Andy Dent

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.