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.
Required Ruby Version
None
Authors
Colin Thomas-Arnold, Chris Clarke
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)
- 0.6.1 August 16, 2012 (24 KB)