Skip to content

Version 0.5.8

Compare
Choose a tag to compare
@twerth twerth released this 23 May 05:53
· 688 commits to master since this release

This is the last release before v.0.6.0 which will be a major upgrade.

Thanks to all the contributors in this release: @twerth, @squidpunch, @skellock, @shreeve, and @GantMan

Important

  • Significant change, this could break your code: Before when you appended, created, or built a view using RMQ it would apply the style you specified in the append command, then call the rmq_build method in the view. This was a bug which I totally missed. I changed it so that it calls rmq_build, then applies the style. This way you can style the view in its own stylesheet, then override it in the controller's stylesheet.

New features

  • block to .animate to simplify simple animation. rmq(my_view).animate{|q| q.move(l: 10)}
  • append!, create!, prepend!, and unshift! methods. If you don't need to chain, instead of doing this: @name = rmq.append(UILabel, :name).get, you can do this @name = rmq.append! UILabel, :name
  • swipe_up, swipe_down, swipe_left, and swipe_right to gestures.
  • overriding options for animations
  • absolute_frame to UIView styler, sets the frame relative to the window
  • styler for button title insets
  • added some documentation

Undeprecation

  • Undeprecated weak_ref stuff. (WeakRef still doesn't work as needed). RubyMotionQuery::Utils.weak_ref(object_here) makes WeakRef usable by libraries (I should make this its own gem)

Bug fixes

  • Fixed some issues with templates (specifically collection view, and view)
  • Fixed distribute :horizontal
  • Misc bug fixes and more tests