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 <tt><<</tt> operator to a <tt>UIView</tt> instance, instead of <tt>view.addSubview(subview)</tt>, you can use the more idiomatic: <tt>view << subview</tt>.
Required Ruby Version
>= 0
Authors
Colin T.A. Gray, Katsuyoshi Ito, Thom Parkin, Michael Erasmus
Versions
- 4.0.0 February 25, 2020 (149 KB)
- 3.5.0 December 17, 2018 (149 KB)
- 3.4.2 November 29, 2017 (149 KB)
- 3.4.1 November 27, 2017 (149 KB)
- 3.4.0 July 27, 2016 (149 KB)
- 2.7.1 September 30, 2014 (131 KB)