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.


    How to get currentRunLoop

    Pythonista
    2
    5
    2875
    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.
    • wolf71
      wolf71 last edited by

      how to using objc get the currentRunLoop ?

      • (NSRunLoop *)currentRunLoop

      using :
      c = cdll.LoadLibrary(None)
      c.currentRunLoop()

      but, error.

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

        from objc_util import *
        NSRunLoop=ObjCClass('NSRunLoop')
        r=NSRunLoop.currentRunLoop()

        wolf71 1 Reply Last reply Reply Quote 0
        • wolf71
          wolf71 @JonB last edited by

          @JonB Thanks. It's ok.

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

            What exactly are you trying to do?

            wolf71 1 Reply Last reply Reply Quote 0
            • wolf71
              wolf71 @JonB last edited by

              @JonB It's work. :-)

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