Commit Graph

422 Commits

Author SHA1 Message Date
Mark Rickert
1bb099d13f Adds separator_inset for UITableViewCell styler. 2015-03-18 18:33:16 -04:00
Mark Rickert
c4c3f4f376 Adds symbol capability for UIView contentModes
Closes #216
2015-03-16 13:18:43 -04:00
Mark Rickert
d9615c0fb7 Merge pull request #215 from infinitered/table_view_background_image
Tableviews need a different `st.background_image`
2015-03-14 16:09:22 -04:00
Gant
866dfe7af6 all tests green - set background image for tableviews 2015-03-13 12:19:01 -05:00
Gant
d169ab1794 adding a friendly alias for text_alignment 2015-03-12 22:31:31 -05:00
Todd Werth
db516610b2 Merge pull request #207 from jamonholmgren/feature/delay
Feature/delay
2015-03-11 09:24:09 -07:00
Todd Werth
12697d5c3f Merge pull request #211 from infinitered/border_color_fix_210
Fixes issue with white, black, and gray border colors on views.
2015-03-11 09:10:34 -07:00
Jamon Holmgren
ad0f58e5bc Merge branch 'master' of github.com:infinitered/rmq into feature/delay 2015-03-11 08:59:28 -07:00
Mark Rickert
a6a3e33f05 Fixes issue 210
Turns out that color.white is a UICachedDeviceWhiteColor and was not being checked for in the is_color method.
2015-03-11 10:38:22 -04:00
Gant
3a659914f1 fix for iPhone 5 pointers 2015-03-11 00:44:53 -05:00
Mark Rickert
7e14b421b5 Adds font leading property to calculate actual correct height. 2015-03-05 21:55:03 -05:00
Mark Rickert
b0b35afffa Merge branch 'master' into uilabel_resize_height
* master:
  Fix typo in UIImageViewStyler spec.
  Adds UIActivityIndicatorView stylers and actions
  Adds international phone number validation.
2015-03-05 21:39:26 -05:00
Jamon Holmgren
7495c365dc Merge branch 'master' into feature/delay 2015-03-05 11:50:22 -08:00
Jamon Holmgren
ef95c35cfd Added rmq.app.after and rmq.app.every 2015-03-05 11:50:19 -08:00
Mark Rickert
cba4d0dd34 Adds UIActivityIndicatorView stylers and actions
With tests!
2015-03-02 19:05:37 -06:00
Mark Rickert
066c3fbfb2 Adds international phone number validation. 2015-02-27 15:01:36 -06:00
Mark Rickert
c1e8ef9d0f UILabel resize_height_to_fit functionality
I use this code in my apps a LOT to set the height of the frame of a UILabel after setting its text/font/etc. It shoudl auto-calculate the height based on the width and resize the UILabel to fit the text, no matter the font or text length.
2015-02-27 11:07:54 -06:00
Todd Werth
b208bb4721 Merge pull request #200 from infinitered/indicator_style
Adds indicator_style for UIScrollView
2015-02-26 10:25:19 -08:00
Todd Werth
6d46d91370 Merge pull request #201 from infinitered/new_segment_styler
New segment styler
2015-02-26 10:17:41 -08:00
Todd Werth
05b1adb63d Merge pull request #199 from squidpunch/fix-gradient
Properly work with the gradient layer if exists
2015-02-26 10:14:48 -08:00
Mark Rickert
1179114dd2 New feature for resize_frame_to_fit_subviews
Allows you to pass :only_width and :only_height so that things aren't resized that you don't want to be :)
2015-02-25 20:03:51 -06:00
Mark Rickert
72a6f45def Adds indicator_style for UIScrollView
Tests failing for some reason.
2015-02-25 17:09:31 -06:00
Gant
9bf02ce604 fixed tests and styler to take strings 2015-02-25 17:09:21 -06:00
Gant
ced6e8247a added new prepend_segments styler 2015-02-25 16:57:19 -06:00
David Larrabee
51224e3a38 Properly work with the gradient layer if exists 2015-02-23 21:58:35 -05:00
Mark Rickert
00dc946884 Rename resize_content_to_fit_subviews and resize_frame_to_fit_subviews
To fit conventions agreed upon.
2015-02-23 13:47:44 -06:00
Mark Rickert
c2a2b2003b Merge branch 'master' of github.com:infinitered/rmq into auto_set_content_size
* 'master' of github.com:infinitered/rmq:
  Allow setting keyboard_appearance with a symbol
  use Numeric#close? to get rect specs to pass on device
  make rmq.device.simulator? spec work when run on the device
2015-02-23 13:37:22 -06:00
Mark Rickert
d938a27840 Allow setting keyboard_appearance with a symbol
:default
:dark
:light
:alert
2015-02-21 14:56:44 -06:00
Mark Rickert
b1817f9370 DRY 2015-02-20 11:58:39 -06:00
Mark Rickert
28e4acc3a1 Merge branch 'master' into auto_set_content_size
* master:
  Allows you to specify right and bottom padding for resize_to_fit_subviews

Conflicts:
	spec/position.rb
2015-02-20 11:50:26 -06:00
Mark Rickert
22a34f97e3 Adds auto_set_content_size for UIScrollview and subclasses.
So that you can add a bunch of things toa scrollview and then call auto_set_content_size and it will not change frame but automatically set the contentSize based on the scroll view's contents (with optional padding)
2015-02-20 11:42:06 -06:00
Mark Rickert
ad0464430b Allows you to specify right and bottom padding for resize_to_fit_subviews 2015-02-20 11:18:21 -06:00
Todd Werth
337eadbd06 Merge pull request #192 from infinitered/line_break_modes
Adds line break mode symbols.
2015-02-19 21:10:26 -08:00
David Larrabee
8208302378 Adds background_gradient= styler 2015-02-19 11:08:49 -05:00
Mark Rickert
59ed55d99a Adds line break mode symbols. 2015-02-17 15:23:07 -06:00
Gant
e9d64e81b8 added 3 more stylers and tests 2015-02-11 23:09:03 -06:00
David Larrabee
6297334f12 Adds styling for cell detail text label 2015-02-07 08:54:43 -05:00
Gant
8741f90dc6 adding table cell stylers 2015-02-07 01:03:29 -06:00
Mark Rickert
3bd1d87e16 Adds :ukzip to built in validator. 2015-02-06 19:42:45 -05:00
Gant Laborde
3e1e1b2782 Merge pull request #181 from GantMan/more_constants
More constants
2015-02-06 12:33:36 -06:00
Gant
73a05b0e36 new constants in place and working 2015-02-04 16:57:51 -06:00
Gant
fb81292a02 added the constants 2015-02-04 16:50:26 -06:00
Gant
6fccc1a2b7 alias stylers for color and text_color across the board 2015-02-03 17:20:55 -06:00
Gant
9ab093caef simplified styler logic 2015-02-03 15:56:04 -06:00
Gant
b9040efe6e fixed left view mode 2015-02-02 23:40:45 -06:00
Gant
f89b6405bd using constants in modes now 2015-02-02 23:23:25 -06:00
Gant
10f88e87cd added styler mode constants 2015-02-02 23:23:11 -06:00
Todd Werth
945cc17ffa Merge pull request #178 from jjnevis/add-delete-tag-feature
Add delete tag feature
2015-02-01 10:50:38 -08:00
Ken Miller
8b93637823 explicitly setting no style as baseline for date formats 2015-01-31 16:45:31 -08:00
Todd Werth
eb2d8fb9e3 Merge pull request #174 from infinitered/ui_view_shadows
Adds methods to apply shadows to UIViews
2015-01-30 13:53:43 -08:00