This form does not yet contain any fields.
    Search
    Saturday
    May052012

    RubyMotion

    1. Dispatch::Queue.concurrent.async do
    2. begin
    3. response = get "http://reddit.com/#{endpoint}"
    4. data = response["data"]["children"].map {|i| RedditPost.new i["data"] }
    5. Dispatch::Queue.main.sync { @posts = data; view.reloadData }
    6. rescueException => msg
    7. puts "Loading Failed: #{msg}"
    8. end

    …is all you need to see to be intrigued by RubyMotion. Read about it on Ars Technica.

    PrintView Printer Friendly Version

    EmailEmail Article to Friend

    « Apple is doomed in China | Main | Shrink-wrapped fish »