RubyGems.org

sugarcube

1.5.9

Description

CocoaTouch/iOS is a verbose framework. These extensions hope to make development in rubymotion more enjoyable by tacking “UI” methods onto the base classes (String, Fixnum, Float). With sugarcube, you can create a color from an integer or symbol, or create a UIFont or UIImage from a string.

Some UI classes are opened up as well, like adding the << operator to a UIView instance, instead of view.addSubview(subview), you can use the more idiomatic: view << subview.

installgem install sugarcube
Authors

Colin T.A. Gray, Thom Parkin, Katsuyoshi Ito, Michael Erasmus

90,188 total downloads 153 for this version
Owners

Fece1cbdf77ae706f064492456fd0bee

Licenses

BSD

Gemfile
gem 'sugarcube', '~> 1.5.9'
Versions
  1. 1.5.9 April 18, 2014 (545 KB)
  2. 1.5.8 April 18, 2014 (542 KB)
  3. 1.5.7 April 16, 2014 (542 KB)
  4. 1.5.6 April 10, 2014 (542 KB)
  5. 1.5.5 March 18, 2014 (542 KB)
Show all versions (161 total)
Ruby Dependency
  1. >= 0