RubyMotion Query: A jQuery-like library for RubyMotion
Ever wanted to add fast, non-polluting, jQuery-like features to RubyMotion?
RubyMotion Query allows you to do just that, including support for gestures and events, animations, stylers and stylesheets, image utilities, and much more.
RubyMotionQuery - RMQ
A fast, muggle, nonpolluting, zero-dependency, jQuery-like library for RubyMotion.
The RMQ Introductory Guide and other info is a great place to start.
Some of the very cool features:
- selecting (querying) views
- traversal through view hierarchy (moving around the tree)
- tagging
- events and gestures
- animations
- stylers and stylesheets
- colors
- fonts
- image utilities
- app
- device
Tested on iOS, not OS X (nor is there any OS X specific code)
Other wrapper libraries
There are a lot of great wrappers out there such as Teacup and Sugarcube. I've used these and I enjoy them. However, many of the wrappers heavily pollute the standard classes, which is great if you like that sort of thing. RMQ is designed to have minimal pollution, to be very simple and high performance (it will be when it's done). RMQ shouldn't conflict with anything.
RMQ doesn't require any other wrapper or gem.
If you preferred jQuery over Prototype, you'll love RMQ.
Some of the code in RMQ came from BubbleWrap and Sugarcube. Not too much but some did. I thank you BubbleWrap and Sugarcube teams for your work.