[Pyobjc-dev] PyObjC on iOS - access camera APIs
Brought to you by:
ronaldoussoren
From: <end...@gm...> - 2011-06-29 22:48:27
|
Hi. I am trying to implement in PyObjC the program available at https://github.com/erica/iphone-3.0-cookbook-/tree/b8ca8905d17015839a0917e1dcd407d055890236/C07-Images/04-Snapping%20Images. Although I am a "beginner" in PyObjC, I spent a couple of days trying to very seriously translate this script to PyObjC and tried my best to find out all errors. However, it doesn't work: the application doesn't execute normally after entering viewDidLoad() - it doesn't change appearance of UI as specified there. I guess it has to do with the fact I am not loading (or using the specification) of the TestBedViewController.xib file, which describes properties of TestBedViewController - I translated only the main.m and did not use by any means the TestBedViewController.xib - I do not know how can I load this file in PyObjC on iOS... Please find the PyObjC code I wrote so far here: http://mobile-revival.110mb.com/ReVival/HelloPython.py . I run my PyObjC scripts on iOS version 3.1.2. PyObjC is version 1946-4, Python is version 2.5.1-5 (obtained with Cydia 1.1.1; and libffi is version 130618-4). Best regards. Alex |