Welcome!
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.
Xcode + UI File Loading (POSSIBLE BUG IN PYTHONISTA)
-
You drag your .pyui file into the Xcode project, build and run... In your script, you can then find the path to your pyui file with the function I posted above – it returns a list of pyui file paths, if you only have one, use
ui.load_view(find_bundled_files()[0])
. -
ui.load_view(find_bundled_files()[0])
was what I needed. Trying now. Runs in iOS 7 Simulator in Xcode. -
I get the following error on iOS 8.
Error (Line 487): List index out of range
-
Should I have taken out the textures from exclude_dirs? That's where my one file is located.
-
Yes, if that's where your file is, remove
'Textures'
fromexclude_dirs
.