36 Commits

Author SHA1 Message Date
Todd Werth
315ecccb76 Fixed app in screen, it now returns RubyMotionQuery::App as it should. Updated gems. Readme tweak. 2015-04-29 10:01:31 -07:00
Todd Werth
fb7ffd1940 Merge pull request #80 from dmarkow/master
Allow PM to handle delegates for grouped tables
2015-04-21 17:29:23 -07:00
Todd Werth
dc82da4650 Fixed find to match rmq in UIView and UIViewController 2015-04-21 16:17:56 -07:00
Dylan Markow
af599635a5 Allow PM to handle delegates for grouped tables 2015-04-15 13:17:35 -05:00
David Larrabee
7a04c66dc7 Merge pull request #72 from squidpunch/table-models
Modify implementation of how data tables define cells
2015-04-13 13:42:23 -04:00
David Larrabee
f13e94dfc2 Use splats properly
* thanks @jamonholmgren
2015-04-10 13:55:20 -04:00
David Larrabee
a5e2588a0c Use proper context on UIView.find
* Closes #74
2015-04-09 14:58:50 -04:00
David Larrabee
7eb232675f Modify implementation of how data tables define cells
* We want a clean, clear, but flexible interface for using data tables
  * We want the model to define our cell
  * We want to be informative to the user if they do not define the cell
2015-04-06 14:39:52 -04:00
Mark Rickert
d926e9daa4 Allows the user to specify the cell template within the model
So they'd specify

def cell
  {
    cell_class: WhateverCell,
    properties: {name: :name, something_else: :datetime}
  }
end
2015-03-27 12:04:21 -04:00
Mark Rickert
2d879e0cc0 Move remote_image functionality to a UIImageView class extension. 2015-03-03 16:09:54 -06:00
Mark Rickert
77b06c92be Adds remote_image styler for UIImageView
Documentation in readme.
2015-02-27 18:40:26 -06:00
Todd Werth
3c54fb1914 Added metal_table_screen template 2015-01-28 22:45:17 -08:00
David Larrabee
31f6df7536 fixes view_did_disappear 2015-01-16 09:58:59 -05:00
David Larrabee
115cea2470 Fixes view_will_disappear 2015-01-16 09:58:59 -05:00
David Larrabee
a4afb7e914 Restructure and expand test coverage 2015-01-15 19:10:31 -05:00
David Larrabee
1a270cea4f Fixes double bug for view_did_appear & tests 2015-01-13 22:34:02 -05:00
David Larrabee
cdf6753136 Fixes double call to view_will_appear with tests 2015-01-13 20:50:33 -05:00
David Larrabee
f5175a1528 Adds CDQ
* This required having the ext.rb file to be split up because when cdq
    was included, we were then compiling the RedPotion extension for RMQ
    before the RMQ version (thus RMQ was overwriting our rmq_build
    method
2014-12-22 15:17:30 -05:00
David Larrabee
36dc60f717 Adds Data backed table screen 2014-12-22 08:34:49 -05:00
David Larrabee
f6551f9a5f Expanded test coverage, splat even args 2014-12-21 10:00:24 -05:00
David Larrabee
70988af1e1 Corrects test description 2014-12-20 15:31:28 -05:00
David Larrabee
dc9c529ae5 Adds off to UIView 2014-12-20 12:21:24 -05:00
Gant Laborde
5ce19a67a9 Merge pull request #27 from squidpunch/adds-color-helper
Adds color adjusting `with` method
2014-12-17 22:49:17 -06:00
Todd Werth
376030738f Added Object#device 2014-12-17 18:55:59 -08:00
David Larrabee
ab6523e14f Adds color adjusting with method
This allows you to take a current UIColor, and return a new color

  Quite useful for a named rmq color that you need a slight variation of
  for example:
    color.my_special_color.with(a: 0.5)
2014-12-17 08:50:02 -05:00
David Larrabee
9cf1707ccc Backfilling test coverage 2014-12-09 08:47:52 -05:00
Todd Werth
e0bbd51a48 Added "metal table" example screen, an example of how to use any controller type as a screen 2014-12-08 12:46:00 -08:00
David Larrabee
00b88eb491 Fire on_styled if rmq_style_applied is not defined 2014-12-06 01:05:46 -05:00
Todd Werth
015c7bfc1e Changed MainStylesheet name. Added on_load to UIViews, which is basically an alias for rm_build, although you can only use one or the other. Added view template 2014-12-05 16:48:26 -08:00
David Larrabee
f6684900ff Suggest that the stylesheet be set if not provided
* also stops application crash when stylesheet is not defined
2014-11-30 13:10:06 -05:00
David Larrabee
d2d18d5526 Adds .font to screen and view 2014-11-24 20:58:44 -05:00
David Larrabee
798e01fb21 Adds .color to screen and view 2014-11-24 20:50:20 -05:00
David Larrabee
1e019bff01 Adds test coverage on screen; fixes bug in build 2014-11-24 13:41:36 -05:00
David Larrabee
e70f54b129 Adds test coverage, properly pass blocks 2014-11-22 07:23:27 -05:00
Todd Werth
cdaaac00e5 Added potion command-line app, it's just a copy of RMQ's at the moment with slight mods. Other tweaks 2014-11-16 21:58:47 -08:00
Todd Werth
5e66cd84e6 Initial commit 2014-11-14 09:36:24 -08:00