omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. donnieh
    3. Best

    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.


    • Profile
    • Following 1
    • Followers 0
    • Topics 67
    • Posts 199
    • Best 11
    • Controversial 0
    • Groups 0

    Best posts made by donnieh

    • Help with screen sizes

      I am try to get all the "different" screen sizes for each iOS device but I either don't own the device or the simulator (using old Xcode template) won't run 64 bit devices so I cannot test for them.

      Can anyone help me fill in the blank sizes? I have a few.

      I used

      import ui
      print str(ui.get_screen_size())
      

      iPhone4s_screen_size = (320, 480)
      iPhone5s_screen_size = (320, 568)
      iPhone6_screen_size = ()
      iPhone6P_screen_size = (414, 736)
      iPhone6s_screen_size = ()
      iPhone6Ps_screen_size = ()
      iPad2_screen_size = (768, 1024)
      iPad_Air_screen_size = ()
      iPad_Air_2_screen_size = ()
      iPad_Pro_screen_size = ()

      posted in Pythonista
      donnieh
      donnieh
    • plt in ui.view

      Most plt examples either display the plot in the console or save the image and display in ui.imageview().

      Is there a way to show it in a ui.view() without first saving a plt image?

      For example, what if I wanted an animated plot in a ui.imageview()?

      posted in Pythonista
      donnieh
      donnieh
    • 2018 Xcode template status

      Hi all. I have read through the forums regarding the Xcode template and I am concerned about using Pythonista for App Store submissions. Can anyone provide an update to the 2018 status?

      I may be wrong but this is my current understanding...

      • Apps written in python 3 cannot be posted to the App Store because that template doesn’t exists.

      • Apps written in 2.7 work with old template but have had a few issues.

      Is there some light anyone can shine on the Xcode template situation so we all can know what to expect? Has anyone submitted to App Store recently? If so, under what circumstances? I’d hate to spend 6 months of code development and hopes to publish on the App Store be crushed because the way I chose was not yet supported.

      Here me out: If Pythonista’s web page and website mention creating real Apps for the App Store, and there is only a narrow path to allow it, it should be outlined somewhere.

      Thanks for you taking the time to reply if you do. I’m about to send my first 2.7 app to the App Store and I am trying to learn where the template stands and what I am to expect.

      • Donnie
      posted in Pythonista
      donnieh
      donnieh
    • Does Pythonista allow use of iOS action sheet?

      What I am asking about:

      https://www.google.com/search?q=ios++sheet&rlz=1C1EODB_enUS522US522&espv=2&biw=1164&bih=817&source=lnms&tbm=isch&sa=X&ved=0ahUKEwj4z7fwmc_KAhXD1CYKHQprBlcQ_AUIBygC#tbm=isch&q=ios+action+sheet

      posted in Pythonista
      donnieh
      donnieh
    • RE: Xcode not showing Pythonista images or playing sounds.

      I am using template name "PythonistaProjectTemplate_160". Is this the latest?

      I would assume all those sounds and images that are new to Pythonista 2.0 are not in this old template.

      posted in Pythonista
      donnieh
      donnieh
    • RE: Help with screen sizes

      @Webmaster4o yes this is a good point, one that @dgelessus referred to above. The terms "Retina", "resolution" and marketing numbers like 2732 x 2048 (264 ppi) (for the iPad Pro) seem to have nothing to do with ui.get_screen_size().

      These are all referring to the amount of pixels. While if we could somehow programmatically get the the amount of pixels in x and the amount of pixels in the y it would be useful, I do not know how to do this. Using ui.get_screen_size() returns "points". These points are clusters of pixels. Using the points is fine for determine screen size as far as I seen though.

      This article is helpful. http://www.idev101.com/code/User_Interface/sizes.html

      posted in Pythonista
      donnieh
      donnieh
    • RE: HELP! How do I submit apps to the App Store from inside Pythonista?

      The Pythonista App submission process is very simple and easy to do. Basically dropping your python files in Xcode and running it. From there it is in the hands of your developer account.

      I started learning to write apps Apple's way. As in learn Objective-C and Xcode. Very hard thing to do. Then I tried Pythonista and it is the best Python IDE I have ever seen.

      Pythonista opened a lot of doors for me and helped me learn Python. There is nothing like it out there. And the community is great. Very professional people.

      posted in Pythonista
      donnieh
      donnieh
    • RE: Where is the latest Xcode template V2.0?

      The link for 1.6 Xcode template is taken down.

      posted in Pythonista
      donnieh
      donnieh
    • Where is the latest Xcode template V2.0?

      Is there a new template yet for Pythonista 2.0?

      posted in Pythonista
      donnieh
      donnieh
    • RE: webbrowser.open( )

      @mikael - thank you for the additional information regarding the Safari URL scheme. I understand your opinion about the use of the built in browser and I agree. I normally would create my own browser or launch in Safari as you mentioned.

      However, actually I have found it quite nice to have the webbrowser module if your stand alone app needs to display documentation, certain media, etc.

      posted in Pythonista
      donnieh
      donnieh
    • RE: Pythonista 1.6 Beta

      aanchal was banned ^ He must be a bad boy.

      posted in Pythonista
      donnieh
      donnieh