Using Ruby/Python code in an iPhone OS app?
        Posted  
        
            by igul222
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by igul222
        
        
        
        Published on 2010-04-23T21:56:54Z
        Indexed on 
            2010/04/23
            22:03 UTC
        
        
        Read the original article
        Hit count: 358
        
My app needs to use a library which is only available for Python and Ruby. From my understanding, Apple allows Ruby to run on iPhone as long as users can't execute arbitrary code (Rhomobile uses Ruby).
How can I bundle Ruby/Python with my app, call a function from my Obj-C code, and get the result (a string) back in C or Obj-C format?
© Stack Overflow or respective owner