![]() There are too many methods to define here. Frame accessors: a_view.x, a_view.x = 100 (on UIView and CALayer).Symbols: :system.uifont(20), :label.uifontsize.Helpers: shorthands for common operations, like a_view Conversions: 'string-to'.uiimage, image.uiimageview, 'string-to'.uilabel(font).UI on iOS: UIKit extensions ( wiki)Ī big package chock full of methods to make working in UIKit a joy.Ī few varieties of methods are in this package: UIViewController, or CALayer object as the root object, or it defaults toīe sure to read more in the REPL Additions Wiki page. Use the tree commands to output your view hierarchy. To keep this document lean-and-mean, I've put most of the REPL documentation in 'tree' in your code, that will crash when you go to release your app. You should NEVER use these methods in your application, because this package is That make adjusting and introspecting views much easier. This package is useful during development because it adds methods to the REPL If you install SugarCube and only use the REPL package, you will benefit from Packages are sorted more-or-less by their usefulness. sugarcube-common: Excludes awesome, anonymous, unholy, and legacy.sugarcube-classic: Excludes 568, attributedstring, gestures, repl, awesome, anonymous, unholy, and legacy.You can require the packages in piecemeal like this, or you can require a group require require 'sugarcube-ui' require 'sugarcube-events' require 'sugarcube-gestures' require 'sugarcube-568' require 'sugarcube-attributedstring' unshift ( '/Library/RubyMotion/lib' ) require 'motion/project/template/ios' require 'bundler' Bundler. Non-breaking change occures in the major version (like when we added OS X Minor breaking changes occur in minor version bumps, and sometimes a This README is the best source, but I am trying to be moreĭiligent about adding Yard documentation, which is available here: Project, add some specs, and improve the quality of this super-handy gem! DocumentationĪ work in progress. If you use SugarCube on your projects, please consider donating a small amount It! All PRs must be submitted with specs. If you have an idea, please open a pull request so we can discuss Maintained by Colin Gray, with help from members of the RubyMotionĬommunity. SugarCube is the result of the hard work of many developers, but it’s mostly You should checkout BubbleWrap for another take on Some crazy maniacsĭon't even drink coffee, if you can imagine that. ![]() Some people take milk in their coffee, some take sugar. It is possible that you will not like SugarCube.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |