I have a little script I wrote in python and it actually works on the iPhone via the terminal. I am looking for code snippets or documentation for the GUI writing for the iPhone –
Actually what I need is to implement an input and some output.
nothing fancy – for now.
I have found this page: http://www.saurik.com/id/5
but as i understand from the article i will need to write it in objective-c which i am not familiar with – do i have to? or can i write in python or just C?
and it is very descriptive, looking for more docs…
Thanks Alot 🙂
I have a little script I wrote in python and it actually works on
Share
You cannot write an iPhone app in Python that will run on non-jailbroken phones. Apple’s SDK license prohibits interpreted code on the iPhone, which definitely excludes Python. Although you can write OS X apps in Python using PyObjC, you still need to understand the Objective-C language both for documentation and for groking the many Cocoa patterns that are closely tied to Objective-C’s way of doing things.
Learn Objective-C. For a programer that knows C or C++, it takes only a couple of days to become proficient in Objective-C. If you’ve never used a language that has pointers before, it may take a little longer. On the flip side, embracing Objective-C’s dynamic nature is much easier for developers coming from dynamic languages as opposed to statically typed languages like C/C++/Java/C#.