Commit Graph

32 Commits

Author SHA1 Message Date
Jamon Holmgren
47728aeb2a Added find_or_append 2015-03-20 19:54:57 -07:00
Mark Rickert
cba4d0dd34 Adds UIActivityIndicatorView stylers and actions
With tests!
2015-03-02 19:05:37 -06:00
Todd Werth
adcc99aa2e Removed deprecations 2014-12-18 12:29:07 -08:00
David Larrabee
eab22964c7 Updates stylesheet color reference; sample app 2014-12-15 09:01:28 -05:00
Todd Werth
f97862a763 Fixed problem where rmq inside a stylesheet couldn't select views from the root_view. This bug sucked 2014-12-13 00:49:08 -08:00
Todd Werth
6838a11229 Added the ability to apply multiple styles at once with apply_style(s), to be able to reapply all styles in oder with reapply_styles. Added has_style? and styles methods 2014-10-24 22:14:06 -07:00
Todd Werth
36405f39c3 Added rmq_style_applied method for your custom views, it gets called anytime RMQ styles your view 2014-09-27 14:33:29 -07:00
Todd Werth
027f0dd470 More tweaks of custom styler feature 2014-09-27 11:39:39 -07:00
Todd Werth
9f9684dfaf Fixed bug with new rmq_styler method and UIControls 2014-09-27 11:22:52 -07:00
Todd Werth
0202cb662c Added ability for a custom view to define its own styler. This is especially useful for upcoming RMQ plugins. Some spelling corrections 2014-09-26 18:31:03 -07:00
Todd Werth
1eca968b35 I no longer trust the SDK to report the size of the screen correctly, so I'm doing it myself. Disabling landscape app_width/etc specs as they aren't working. Changed stylesheet to use device's sizes. In a stylesheet, deprecated app_height and app_with, use device_width and device_height instead for device dimensions and screen_width and screen_height for orientation dimensions. 2014-09-23 23:12:47 -07:00
Mark Wise
30f04b2694 modified app_width and app_height in stylesheet.rb to work for iOS 8; the specs use rotate_device and seem to have nasty side-effects 2014-09-14 22:49:54 -05:00
Mark Rickert
0bbdf5fd59 Adds styler for UIProgressView. With passing tests. 2014-07-01 15:32:59 -04:00
Todd Werth
90778cdde4 Working on the grid and inspector 2014-04-20 14:04:48 -07:00
Robert Malko
f4b49fd39c use UIApplication.sharedApplication.statusBarOrientation 2014-04-16 17:17:54 -04:00
Robert Malko
30f128f21b update stylesheet.rb to fix app/screen size/height
takes into account the orientation
2014-04-16 16:26:05 -04:00
Todd Werth
c00ac98fe8 Fixed issue with using rmq in stylesheet (not auto-wrapping views) 2014-04-10 17:47:08 -07:00
Todd Werth
262510f1f7 Added RMQ#weak_view_controller for internal use. RMQ#view_controller is now strong 2013-12-18 08:29:16 -08:00
Todd Werth
a8d107eef1 Switched weak refs to RMQ's new weak ref. Fixes bug too. 2013-12-08 11:02:05 -08:00
Todd Werth
30459123dc Fixing WeakRef wrapped in WeakRef bug 2013-12-07 19:28:30 -08:00
Todd Werth
68ecf0245a Merge branch 'master' of github.com:infinitered/rmq 2013-12-05 20:09:47 -08:00
Todd Werth
9224b33244 Merge pull request #5 from neerajdotname/sv-2-st
argument name should be st
2013-12-01 20:37:18 -08:00
Neeraj Singh
2bd775616d only invoke public methods
__send__ also invokes private methods. In this case I think private
method should not be invoked.
2013-12-01 21:48:37 -05:00
Neeraj Singh
4819040360 argument name should be st
following the rmq style changed argument name from `sv` to `st`
2013-12-01 21:20:46 -05:00
Todd Werth
3d23786d31 Adde screen_width, h, and content_size, w, and h. Added clips_to_bounds to UIViewStyler. 2013-11-03 09:40:11 -08:00
Todd Werth
b0e3b9d324 Added options to animations.throb 2013-09-25 21:49:44 -07:00
Todd Werth
a2553f6ee7 Added options to create, append, prepend. Tests for those coming later. Added to UILabel and UIView stylers 2013-09-23 15:18:46 -07:00
Todd Werth
5b89749cb1 Fixed #rmq problem in Stylesheets 2013-09-10 10:15:59 -07:00
Todd Werth
d2757b368e Added #create. Fixed parent_rmq in many situations. Changed rmq_did_create, this breaks old code. #stylesheet is more robust 2013-08-26 10:55:46 -07:00
Todd Werth
6a0bec18fb Adding more yard docs / rdocs. There is a lot more to do 2013-08-05 17:37:13 -07:00
Todd Werth
a037806df7 Cleaned up some comments 2013-08-02 19:39:50 -07:00
Todd Werth
608f4dd54c Initial commit 2013-07-29 15:37:44 -07:00