RubyGems.org

sugarcube

0.18.10

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 -v 0.18.10
Authors

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

104,739 total downloads 510 for this version
Owners

Fece1cbdf77ae706f064492456fd0bee

Gemfile
gem 'sugarcube', '~> 0.18.10'
Versions
  1. 2.0.0 July 11, 2014 (127 KB)
  2. 1.7.0 July 3, 2014 (549 KB)
  3. 1.6.3 June 6, 2014 (548 KB)
  4. 1.6.2 May 27, 2014 (547 KB)
  5. 1.6.1 May 13, 2014 (547 KB)
Show all versions (167 total)