Skip to content

Version 1.6.0

Compare
Choose a tag to compare
@twerth twerth released this 10 Jul 18:48
· 89 commits to master since this release

New

  • New custom events, woot!.
rmq(my_view).on(:custom_event) do |sender_q, event|
  puts "woot!"
end

rmq(my_view).trigger(:custom_event)
# or select whatever you like
rmq.all.trigger(:custom_event)
  • Added to stylehseet, shorthand for all the device types, like four_point_seven_inch
  • Turn off animations when Voiceover is on, to improve accessibility

Bug fixes

  • Fixed bug with root?
  • Fixed bug with .all after selecting a view. It would select all views, not all views inside that view.
  • Fixed :long_press event from firing twice

Install

gem update ruby_motion_query

In your projects:

bundle update ruby_motion_query