RubyGems.org

sugarcube

0.18.12

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.12
Authors

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

117,476 total downloads 651 for this version
Owners

Fece1cbdf77ae706f064492456fd0bee

Gemfile
gem 'sugarcube', '~> 0.18.12'
Versions
  1. 2.8.2 October 8, 2014 (132 KB)
  2. 2.8.1 October 7, 2014 (132 KB)
  3. 2.8.0 October 1, 2014 (132 KB)
  4. 2.7.1 September 30, 2014 (131 KB)
  5. 2.7.0 September 29, 2014 (131 KB)
Show all versions (187 total)