omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    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.


    [OOT] Swift IDE for iOS

    Pythonista
    6
    14
    10144
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ccc
      ccc last edited by ccc

      +1. Same question for golang too. https://github.com/golang/go/wiki/Mobile but running the entire code --> build --> run cycle all on the iPad/iPhone.

      1 Reply Last reply Reply Quote 0
      • dgelessus
        dgelessus last edited by

        Isn't Swift a compiled language? I always have the feeling that Pythonista is only allowed in the app store because Python never compiles to native code.

        bee 1 Reply Last reply Reply Quote 1
        • bee
          bee @dgelessus last edited by

          @dgelessus: Swift can be a compiler and produce native code, but it's also able to be an REPL similarly like Python. Open swift.org for further details. 😊

          1 Reply Last reply Reply Quote 0
          • dgelessus
            dgelessus last edited by

            That doesn't make it an interpreted language though, I'd assume that the REPL still does compilation to native code internally. That would make it impossible to use in an app, because process forking (and probably also C exec and the likes) is not possible.

            1 Reply Last reply Reply Quote 0
            • omz
              omz last edited by omz

              @dgelessus Even if Swift always compiles to native code (no idea), I guess you could theoretically compile the code as a shared library, and load that into the host app process, so you don't have to fork... Just a thought, I really have no idea how practical that approach would be.

              bee 1 Reply Last reply Reply Quote 1
              • Phuket2
                Phuket2 last edited by

                Apple TV first 😍😍😍😍😍👍👍👍👍

                1 Reply Last reply Reply Quote 1
                • bee
                  bee @omz last edited by

                  @omz: So, does that mean theoretically you would make a Swift IDE for iOS? 😀

                  1 Reply Last reply Reply Quote 0
                  • omz
                    omz last edited by

                    @bee Nah, I don't think so. It's tempting to play around with it, but hard to foresee the difficulties actually getting it to work in a useful way. Besides, if it's feasible, I'm sure someone is already working on it (and way ahead of me).

                    1 Reply Last reply Reply Quote 0
                    • Tizzy
                      Tizzy last edited by

                      I think it's clear that Apple is full steam ahead in the direction of iOS... iPad pro etc are the writing on the wall for an Xcode on iOS as far as I'm concerned. I'm sure pythonista is already on their radar...you've essentially demonstrated how an ide could be implemented on iOS. If there was a Swiftista for iOS, I'm almost certain that would spell "acquisition."

                      1 Reply Last reply Reply Quote 0
                      • dgelessus
                        dgelessus last edited by

                        Or it might result in "that's one step too far, you may keep your $100 next month". Okay, that's kind of extreme, but it's not very clear how Apple stands towards programming apps. Workflow was all hyped up and featured on the front page, while Pythonista is not allowed to accept files via "Open in". I'm still interested in seeing how Pythonista 2.0 does in the app review, especially because of ctypes.

                        1 Reply Last reply Reply Quote 0
                        • omz
                          omz last edited by

                          I'm still interested in seeing how Pythonista 2.0 does in the app review, especially because of ctypes.

                          I hope we'll find out soon. I've submitted 3 days ago.

                          1 Reply Last reply Reply Quote 3
                          • dgelessus
                            dgelessus last edited by

                            Oh, nice, I wasn't aware that you've already submitted it. In that case good luck with the review, let's hope it gets through!

                            1 Reply Last reply Reply Quote 0
                            • dgelessus
                              dgelessus last edited by

                              Sorry for going offtopic (okay, this thread is already OT) but starting with one of the beta updates there were issues with files getting lost if the beta was installed over an existing 1.5 install. Should we expect to lose any files when updating to 2.0 from 1.5 or the 1.6 beta? I'll make a backup in any case, but it would still be good to know.

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Powered by NodeBB Forums | Contributors