Releases: infinitered/rmq
Releases · infinitered/rmq
Version 1.7.0
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
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
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
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
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
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 (usingoff
). 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
- Bug fixes for new live stylesheets feature.
- Fixed bugs with rmq.app.current_view_controller
Version 1.3.2
Only bug fixes for the new Live Stylesheet feature.
Version 1.3.1
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
Version 1.2.0
Version 1.2.0
New
- Tests run on iPhone 5 for architecture differences
- Tableview background images supported
- Added timer capabilities
- Added resize_height_to_fit functionality styler
- Can resize contentSize to fit subviews
- Update: resize_to_fit_subviews now takes optional padding parameter
- Test for UIPageControl
- Delete tag capability
- Many aliases for relaxed syntax
- 2 new validations
- Missing Stylers added: separator_inset, UIActivityIndicator, UISegment, indicator_style, background_image_selected, adjust_image_when_highlighted, selected, UITableViewCell, left and right view modes, text_alignment on UITextView, shadow stylers
- Added symbol support for keyboard, contentModes, line break mode, auto correction and capitalization
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