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.
UI lesson
-
Hi I'm new here. I'm trying to create a UI interface for the "tap me" example pythonistia documentation. When I try to run the code though it says "value error: UI file not found" when I run this line of code [ui.load_view('My UI').present('sheet')]. I can't figure out how to fix it. Please help.
Thanks -
If your UI file is named something other than "My UI" you need to change that in the
load_view
call as well. Or simply pass no parameters to the function and it will load the UI file with the same name as your script. -
Is your file named 'My UI.pyui' when you look at it in the file browser?
-
File browser? How do I use that?
-
The parallel lines in the upper left hand corner.
-
Does
ui.load_view().present('sheet')
work? That is, remove the text from the first (). -
Ok, I've figured out how it works now. Thanks guys.