Skip to content

Releases: infinitered/rmq

Version 0.5.6

15 Mar 05:04
Compare
Choose a tag to compare
  • IMPORTANT - Fixed memory leak when selecting a container view like a UITableView. It would dealloc the table, for example, but not the table cells. Thank you Michael Graff for reporting this bug
  • Added .layout to position: rmq(your_view).layout(l: 10, t: 15, w: 100, h: 20)
  • Added more UIButton styler methods - Thanks s.ross
  • Added styler for UITextField - Thanks Michael Graff
  • Added styler methods for UIScrollView - Thanks Mark Rickert
  • Fixed issue with :unknown on device orientations - Thanks s.ross
  • Updated README, added better image section, various corrections - Me (Todd Werth) and Chris Lerum
  • Documented .distribute

bundle update ruby_motion_query

Version 0.5.5

25 Feb 02:03
Compare
Choose a tag to compare
  • Fixed the table template, it wasn't using a reuse identifier when creating cells, ack, I'm sorry about that
  • Fixed problem with calling rmq inside AppDelegate instance
  • Updated Readme for clarification
  • Added to scrollview styler: direction_lock and scroll_enabled
  • Added to view styler: tint_color
  • Added to tableview styler: separator_style, separator_color, and allows_selection

Because this updates the table template, please update your gem as well as your bundle:
gem update ruby_motion_query
bundle update ruby_motion_query

Version 0.5.3

17 Feb 00:53
Compare
Choose a tag to compare

Added a template for a UITableViewController: rmq create table_view_controller bars

Version 0.5.2

08 Feb 19:07
Compare
Choose a tag to compare
  • Fixed the problem with "rmq create" not generating the project

Version 0.5.1

22 Jan 02:32
Compare
Choose a tag to compare

A very minor update:

  • Deprecated RubyMotionQuery::RMQ.weak_ref
  • Added #image= to UIButton styler
  • Fixed styler bug
  • Updated gems
  • Spelling fixes

Version 0.5.0

20 Dec 17:20
Compare
Choose a tag to compare

This is a huge update

I recommend updating. Read this post about it:
http://infinitered.com/2013/12/10/rmq-everywhere-v0-5-changes-everything

Note: rmq_did_create is deprecated, override rmq_build now instead

Update in bundler, but also your gem (for the command-line utilities):
globally: gem update ruby_motion_query
in your projects: bundle update ruby_motion_query


  • New RMQ everywhere system. You no longer have to pass around rmq objects if you're not in a controller (table cells for example)
    • rmq_did_create is deprecated, use rmq_build now
    • rmq works in any object
    • rmq.view_controller will auto-find the correct controller. You can manually set the controller of an rmq object if needed
    • In addition to rmq.create and rmq.append, there is rmq.build. Create creates a UIView but doesn't' append, append both creates and appends, build doesn't create or append, but does initialize the view to work with rmq. All 3 methods will fire the "def rmq_build" in your custom view
  • Improved performance
  • Created WeakRef utilities to work around RM bugs
    • RubyMotionQuery::RMQ.weak_ref(my_object)
    • RubyMotionQuery::RMQ.weak_ref_to_strong_ref(my_weak_object)
  • Changed "end" to "back" in traversing. I can't believe I created a method named "end", I'm not very bright sometimes. I blinding named it what jQuery does. Next week I'll create an "if" and "super" method ;-)
  • Added distribute (:vertical, :horizontal, :margin, :margins): rmq(UILabel).distribute
  • Added resize_to_fit_subviews
  • Added actions
    • enable
    • disable
    • enable_interaction
    • disable_interaction
  • Added to stylesheets:
    • screen_width
    • screen_height
    • content_width
    • content_height
    • content_size
  • Added to stylers:
    • clip_to_bounds
    • Changed styler#frame to accept a CGRect
    • Misc
  • Added some basic debug utilities. I will be adding more to this later. rmq.debug.assert
  • Bug fixes
    • Tons of misc fixes
    • Fixed memory leak where a controller was not being released
    • Fixed a few crashes
  • Updated various templates, such as view, controller, and collection view controller
    • New app template has the correct icons for iOS7
  • Update example app to include a collection view and navigation bar
  • Added Dash docset (Dash is a help OSX app)

Version 0.4.1

23 Oct 01:39
Compare
Choose a tag to compare
  • Added collection_view_controller template, which creates controller and cell view for a UICollectionViewController: rmq create collection_view_controller foo
  • Filled in missing options for gesture events (maximum_number_of_touches, minimum_number_of_touches, direction, etc)
  • Documented #on with all events and options
  • Added #random to color: rmq.color.random
  • Added #content_mode to UIViewStyler
  • Updated readme and some docs

Version 0.4.0

09 Oct 20:10
Compare
Choose a tag to compare
  • Add generators to rmq command-line tool. For example:
    rmq create controller settings
    rmq create view my_view
    rmq create model person
    rmq --help for all the commands
  • Added st.rotation = 45 to UIView styler
  • Added drop_and_spin animation
  • Added location_in(view) to position
  • Added :tree to log: rmq.log :tree
  • Bug fixes (nothing major)
  • Added debug flag, which is mostly useful for future features

Version 0.3.6

28 Sep 21:43
Compare
Choose a tag to compare
  • Bug fixes
  • Added options to animations.throb
  • New options for create, append, prepend
  • Added ability for rmq to create a table cell with reuse_identifier

Version 0.3.5

01 Sep 22:40
Compare
Choose a tag to compare
  • Bug fixes
  • Added RMQ#create method, which is an append without the actuall append. Very useful for views and table cells
  • Tag updates: clear_tags, the ability to add values to tags
  • Added RMQ#wrap method
  • Added rmq console utility. You can now do: rmq create my_app
  • A few new stylers