This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
pythonista-startup in application lifecycle
lukaskollmer last edited by
Just a simple question: does anyone know when
pythonista-startupis called in the application lifecycle?
I'm trying to swizzle some application launch calls to app delegate but I don't know at what point in the launch process the startup file is actually executed.
dgelessus last edited by
pythonista_startupis imported like a normal module, so it runs at some point after the Python interpreter has started up. By that point the app is already running as far as I can tell.
omz last edited by
pythonista_startupis executed at some point after the app has launched, it is not tied to a particular point in the
UIApplicationlifecycle (and runs on a different thread).