Skip to content

Releases: infinitered/rmq

Version 1.7.0

30 Nov 19:49
Compare
Choose a tag to compare

New

  • Adds ability to remove all styles

    • rmq(:my_style).remove_all_styles
  • Adds ability to read switch with .data

  • Adds ability to trigger events

    • rmq(aView).trigger(:tap)
  • Adds shadow_radius styler

  • Adds sink animation

  • Adds support for iPad Pro and its 12.9" screen

  • Adds support for ipad detection when using resource_from_device

  • Adds ability to use symbols for clear_button_mode

    def ui_text_field_clear_always(st)
    st.clear_button_mode = :always
    end

Bug fixes

  • Fixed slide_in animation
  • Fixes simulator detection for iOS 9
  • rmq.font.system should return a system font default size instead of an error
  • Fixes pointers in the color system for 32 bit devices

Version 1.6.1

11 Jul 17:56
Compare
Choose a tag to compare

New

Adds rmq.tags interface

  • rmq.all.tags => hash of tag data
  • rmq.all.tags(:stuff) => all data in :stuff tag for selected views

Bug fixes

  • Changed .closest not to return a view controller. I have no idea why I did that :-/.
  • Fixed bug where .closest would cause an exception if you queried for a non-existent symbol

Version 1.6.0

10 Jul 18:48
Compare
Choose a tag to compare

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

Version 1.5.0

26 May 17:32
Compare
Choose a tag to compare

New features

  • Added :full, :half, :quarter to w, h, l, t, r, b, width, height, left, top, right, bottom
  • Added find!: rmq(my_view)find(:some_child).get == rmq(my_view)find!(:some_child)
  • UITextViewStyler supports UITextInputTraits
  • A few disabled goodies for the UIButton styler.

Bug fixes

  • Changed pulling template from git to use HTTP rather than SSH, so you don't have to have your SSH key to do a rmq create foo

Install

gem update ruby_motion_query

# In your projects:
bundle update ruby_motion_query

Version 1.4.0

09 May 01:17
Compare
Choose a tag to compare

New features

  • Add app.info_plist hash accessor
  • Added formatter_from_string, which uses a full format string rather than a format template

Bug fixes

  • rmq_live_stylesheets:
    • Make sure that all files in all subfolders of the stylesheets are included
    • Added UITableViewController & PM::TableScreen-friendly reloading
  • Fix double reloading on ProMotion tables
  • Fixed debug.assert
bundle update ruby_motion_query

Version 1.3.5

29 Apr 18:53
Compare
Choose a tag to compare

New features

  • Added remove_style
  • Add init_with_segments to UISegmentedControlStyler

Bugs

  • BIG BUG FIX: Fixed memory leak when using on for event or gesture, and not removing it (using off). It would retain the UIViewController. This has been fixed (and don't bother removing your events, unless you want to for a specific reason)
  • Fixed some bugs with rmq_live_stylesheets and made it more robust. We want to do a lot more with this in the future

Version 1.3.4

20 Apr 04:43
Compare
Choose a tag to compare
  • Bug fixes for new live stylesheets feature.
  • Fixed bugs with rmq.app.current_view_controller

Version 1.3.2

15 Apr 04:30
Compare
Choose a tag to compare

Only bug fixes for the new Live Stylesheet feature.

Version 1.3.1

15 Apr 03:41
Compare
Choose a tag to compare

New

Live stylesheet reloading!

See this blogpost for more info.

Then in the REPL when you want to turn it on, use: rmq_live_stylesheets

Other

  • Various aliases and strict tests added. PR 225
  • User Interaction enabled/disabled styler for all UIViews in PR 222
  • Symbolize any string new utility as in PR 229
  • New Stylers: Separator_inset, DatePicker
  • Normalized stylers in PR 223
  • UIProgressView now supports data in PR 224
  • Convenience callback on adding methods, like append in PR 227
  • rmq.app.hide_keyboard does just that in PR 234
  • Support for automatically using new iPhone dimensions in PR 235
  • RMQ Events support debounce timing in PR 236

Bugs Fixed

  • 220 - Set background image to nil when setting background color as suggested by apple.
  • 237 - Fix for RMQ selector not detecting corner case.

Version 1.2.0

19 Mar 21:49
Compare
Choose a tag to compare

Version 1.2.0

New

Bugs fixed

  • 209 - Fix of colors on iPhone 5
  • 211 - Border colors fixed
  • 199 - Gradient layers fixed
  • 189 - Demo app fixed up
bundle update ruby_motion_query