Quote:
Originally Posted by Anymeese
Hey guys quick question! Long story short, I want to take an open source Android (Java) app and convert it into an iPhone (objective c) app for my teammates that don't see the beauty in Android. I've never used Objective C but I know basic C++. Are they close enough that I can teach myself the gap? And if so, what's a good compiler to use on Windows? I personally dont like Apple, but apparently Objective C is mostly associated with apple products hehe
Once again, thanks!
EDIT: And PS, if you like this sort of thing, come hang out with a bunch of us Robotics people!
|
Objective C isn't too bad. The major hurdles are realizing you have no stack for you objects (there's ARC at least) and function signatures are just weird. And no namespaces. Or type safety. Or private functions. Or multiple inheritance.
It's honestly not too bad. Depending on the nature of your application, the different levels of frameworks aren't too bad. Like UIKit is a breeze if you're not doing anything too fancy visually.
Xcode (which is Mac only) is really the only way to go unless you don't care too much about an IDE. You can write pure C++ or Objective C++ (you have to follow some rules when mixing the classes) as well.
Since Apple lifted their restrictions on other languages being compiled for iOS, you can build things in MonoTouch as well, though I've never really messed with that.
Edit: Also be careful with open source code. Anything under the GPL is going to get you denied =/