Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A collection of wrappers and helpers for RubyMotion
Ruby
Branch: master
Pull request Compare This branch is 1183 commits behind rubymotion:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
README.md
Rakefile

README.md

BubbleWrap for RubyMotion

A collection of wrappers used to wrap CocoaTouch code and provide more Ruby like APIs.

HTTP

BubbleWrap::HTTP wraps NSURLRequest, NSURLConnection and friends to provide Ruby developers with a more familiar and easier to use API. The API uses async calls and blocks to stay as simple as possible.

Usage example:

BubbleWrap::HTTP.get("https://api.github.com/users/mattetti") do |response|
  p response.body.to_str
end

JSON

BubbleWrap::JSON wraps NSJSONSerialization available in iOS5 and offer the same API as Ruby's json std lib.

Kernel

A collection of useful methods used often in RubyMotion apps.

Something went wrong with that request. Please try again.