I want to write software for the iPod/iPad. I find Objective-C difficult to learn. Between Ruby and Python, which one is best suited for writing software for iPod/iPad? Please advise which tutorial book for the best one?
Neither. You have to use Objective C, because that's the only language that is supported. Furthermore, you can only develop on a Mac.
UPDATE
It appears I was off-base. Take a look at this. It's a framework called Rhodes.
You can write web based iPhone/Pod apps using rails. they will not go through the app store obviously. Use iui, or iWebkit or JQTouch for all the look and feel.
Sorry: for now, neither of those are choices if you want to be in the App Store. In the iPhone OS, there is a guard function mprotect()
which will blow up if you try to mark writable memory sections as executable. This is, in part, how RubyCocoa works -- libffi
is used to generate the relevant Objective C headers at runtime. Because of mprotect()
's meddling, someone would have to devise a variant (or update the existing) RubyCocoa which can generate these stubs without having to worry about mprotect
choking on the memory switcheroo.
That said, maybe you'd find C# a workable alternative language to Ruby or Python. Have you checked out MonoTouch from Novell? It's viable for development.
I don't think there is much difference between Ruby and Python as a language for iPhone/iPad/iPod touch development.
However, there is one practical difference: I know for a fact that Ruby runs on the iPhone, but I don't know about Python. That might be because Python doesn't run on the iPhone, or it might be because I'm wired into the Ruby community but not the Python community and I simply haven't heard about it.
I want to write software for the iPod/iPad. I find Objective-C difficult to learn.
There are the already mentioned alternatives.
However, I strongly recommend learning Objective-C if your goal is to write software for the iPhone, iPod touch, or iPad.
For a good book on Objective-C and CocoaTouch, I recommend:
Beginning iPhone 3 Development: Exploring the iPhone SDK
by Dave Mark and Jeff LaMarche (from Apress publisher)
Between Ruby and Python, which one is best suited for writing software for iPod/iPad?
As already mentioned by others, Ruby (via Rhodes Rhomobile).
Myself, I'm a Python fan. So I get to pout in the corner.
Please advise which tutorial book for the best one?
The Rhomobile site has online documentation.