Lightweight-Python-Wrappers
Lightweight-Python-Wrappers copied to clipboard
iOS Support?
Just found this...
https://github.com/beeware/Python-Apple-support
Which sorta implies Delphi Python should also work?
Hi @peardox,
Python might work on iOS, but I think we can deploy our apps to the App Store due to run-time code changes.
Have a look in the MethodCallback.pas unit at P4D repo.
For reference I got in this track owing to a youtube (don't worry, it's short and relevant)
https://www.youtube.com/watch?v=VX8gNHCDA3Q
The app he shows is, he says, in Python and it's on the Apple Stores - I've got it on my iPad and it does work.
My note above was the result of a little research and looked the most pertinant from my brief look into the topic
His app might not change run-time code.
Check this out:
https://github.com/Embarcadero/python4delphi/blob/3af6852f84f2eaa51c77586e254b4181f62c0ccc/Source/MethodCallBack.pas#L633
https://github.com/Embarcadero/python4delphi/blob/3af6852f84f2eaa51c77586e254b4181f62c0ccc/Source/MethodCallBack.pas#L701
Yeah, I doubt it. He'll be using some pre-packager. The packager may however change runtime.
If making an iOS ARM64 "Hello World" isn't too much work though it'd be interesting to see what happens if it's put through release submission (I've got an Apple Dev account valid til Dec if needed)
Also I understand that there are some REPR apps on the store...
I also have this on the roadmap. I will try this as I get an opportunity and a new phone.