PyObjC on iOS - access camera APIs
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <[email protected]> |
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
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Pyobjc-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyobjc-dev