• AlanE

    Not a question but praise for the Xcode template for Pythonista 3. I had my (quite specialised) app accepted by Apple without much difficulty. A learning curve with satisfying outcome.
    Great work from OMZ.

    https://itunes.apple.com/gb/app/aplan-sp/id1453002135?mt=8

    posted in Pythonista read more
  • AlanE

    I solved it. Create a folder in the same location as the script. Write the files into that. Works in Pythonista and more importantly in apps (USB installed) as a test from Xcode.

    posted in Pythonista read more
  • AlanE

    Firstly. Pythonista: what a fantastic app!

    And now the new Xcode template for version 3 is superb too... but I am struggling to write persistent text files from my Pythonista3 code when in Xcode simulator or when I test it after building it onto an attached (iPad) device.

    In PY3 the code works as I would expect - writing .txt files to the same location as the code, which persist for reading back in after PY3 is closed and reopened. But from Xcode the files read OK but apparently do not write/update (no error is reported). When the Xcode test app on the iPad is reopened the text file does not reflect the earlier .write() changes either

    I am wondering if it is to do with having no working directory option in Xcode:Edit Scheme:Options which I see in other Xcode examples

    Any help much appreciated.

    Alan

    posted in Pythonista read more
  • AlanE

    Splendid. Yes indeed, you understood enough of what I sought to be able to demonstrate that add_subview was the answer. I thought that was reserved for initialisation only. Great, thanks for taking the trouble to code that for me.

    posted in Pythonista read more
  • AlanE

    I should clarify. The view button is to become a button in the scroll view so that it scrolls with them.
    Thanks

    posted in Pythonista read more
  • AlanE

    Might I ask for help please in moving a button to a scroll view?

    On the iPhone I have a standard View which contains buttons, and a scroll view also containing buttons.

    I wish to touch the button on the view, then touch the button in the scroll so that the first button moves to the x,y of the button in the scroll area.

    I am not using a PYUI, all programmatically which I can achieve until the scroll is introduced.

    I can remove the button using #view.remove_subview(buttonVariable) but cannot move it.

    Help appreciated

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!