I'm all for language diversity, but Objective C is insane. So I'm curious: is it possible to code iPhone apps with C++ while using the Cocoa API, etc?
C++ – Is it possible to program iPhone in C++
ciphoneobjective c
Related Topic
- C++ – C++ programmers minimize use of ‘new’
- Python – Why is reading lines from stdin much slower in C++ than Python
- C++ – Image Processing: Algorithm Improvement for ‘Coca-Cola Can’ Recognition
- Ios – How to write iOS app purely in C
- Java – Why is processing a sorted array faster than processing an unsorted array
- C++ – Can code that is valid in both C and C++ produce different behavior when compiled in each language
- C++ – use a pointer rather than the object itself
- Asp – HttpHandlers with ASP.NET MVC
Best Answer
Although Objective-C does indeed appear to be "insane" initially, I encourage you to stick with it. Once you have an "a-ha" moment, suddenly it all starts to make sense. For me it took about 2 weeks of focused Objective-C concentration to really understand the Cocoa frameworks, the language, and how it all fits together. But once I really "got" it, it was very very exciting.
It sounds cliché, but it's true. Stick it out.
Of course, if you're bringing in C++ libraries or existing C++ code, you can use those modules with Objective-C/Objective-C++.