Are ctypes and/or PyObjC support possible?
roger last edited by
Seems like PyObjC does work in iOS, at least on a jailbroken device:
Also there's another iOS Python package that seems to include ctypes support:
Not sure how hard they'd be to add to Pythonista, or even if Apple would allow them, but with them we'd presumably be able to support all iOS features in Python, after writing the appropriate wrappers.
(Sorry if this has been asked before BTW)
Dalorbi39 last edited by
PyObjc, ive fought with that several times this year. Once had a fight that lasted a month, i still couldnt get it to work. Same with Java ObjC.
However i have working:
C, Obj-C, lua, ruby, perl, python, bash and java (v. 1 or 2) compilers and interpreters with:
C <-- GCC (Cydia)
Lua <-- Lua (Cydia)
Perl <-- Perl (Cydia)
Python <-- Python (Cydia) and Pythonista (App store)
Ruby <-- Ruby (Cydia)
Java <-- (Cydia)
Obj-C <-- Theos (Cydia and various sources)
PHP <-- Kodiak (App store)
Html <-- Kodiak
Obj-Lua <-- ScriptKit (App Store)
Processing.js <-- PR0C0D1N6
Bash <-- with (Cydia)
(C++ <-- G++ Soon C++ will be mine, Soon)
(Yes i know, i couldnt possibly need all these tools but im a language whore, like someone else i know, and i trying to learn as much as possible before my 16th birthday)
I can go for months without touching the computer with these tools and my wireless keyboard. My Obj-C compiler comes with templates for tweaks and apps and can be compiled straight into a neat little package to go on Cydia, although it has it's hiccups it has always seen me through my minute long compile times and with a file browser (iFile) with full root permissions, everything is so much better.
Hopefully i've convinced you to Jailbreak
EDIT: i didnt answer your question did i?
roger last edited by
Alas there's no jailbreak for my device, and I'd still like to see support for these in an official app.
pudquick51 last edited by
See my comment here:
ctypes works only in very very limited form (even in Python for iOS) in legitimate app store apps. Good for C structures / data types, illegal to use for loading/running native code.