• donnieh

    So is this template still functioning with the latest Xcode?

    posted in Pythonista read more
  • donnieh

    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 read more
  • donnieh

    Adding @ui.in_background before the method(s) fixed it!

    I used @ui.in_background before but I was threw off by it working, then not working out of nowhere.

    posted in Pythonista read more
  • donnieh

    Does it on iPhone 6S and 7 too. Definitely iOS related. Dialogs is definitely broke, but not sure why it works for some people.

    posted in Pythonista read more
  • donnieh

    @omz Fair enough. Here is my exact code...

    class Home_page:
        def __init__(self):
            pass
            
        def Info_tap(self, sender=None):
            dialogs.alert('Opamp Pro v1.0', '\nA circuit rich design calculator for iOS.\n\nDonnie Herman, 2016-2017 \nWestern NY','OK', hide_cancel_button=True)```
    
    If you send me an email, I will reply with entire source code. (I don’t want to post all my code here)

    posted in Pythonista read more
  • donnieh

    For example, this will freeze up...

    dialogs.alert('hello world', 'test', 'Ok', hide_cancel_button=True)
    

    posted in Pythonista read more
  • donnieh

    I do not believe this is related to iPhone X, but iOS 11. I have an iPhone 6 Plus. Once I updated to iOS11, dialogs.alert() broke (and other related dialogs). I know this because I updated to iOS 11 in the middle of this code development and noticed it immediately.

    You can have a simple message alert with an Ok button. Once the message comes up, I have to force quit Pythonista because the Ok button is not "clickable". It doesn't even highlight when touched. So it appears the app freezes, but not sure.

    posted in Pythonista read more
  • donnieh

    In Xcode, if I begin a new Obj-C project I usually can find a "memory warning" method that gets called if needed, so I can dump resources.

    Is there a way to monitor low memory with Pythonista? Maybe with objc_util?

    posted in Pythonista read more
  • donnieh

    @mikael Yeah, because the label background matches the view background. Not always useful when the background color and and label background are different colors.

    posted in Pythonista read more

Internal error.

Oops! Looks like something went wrong!