Merge branch 'master' of github.com:infinitered/rmq

This commit is contained in:
Todd Werth
2014-04-14 15:01:56 -07:00
3 changed files with 37 additions and 1 deletions

View File

@@ -1,7 +1,19 @@
module RubyMotionQuery
module Stylers
class UIPageControlStyler < UIControlStyler
class UIPageControlStyler < UIControlStyler
def current_page; @view.currentPage; end
def current_page=(value); @view.currentPage=value; end
def number_of_pages; @view.numberOfPages; end
def number_of_pages=(value); @view.numberOfPages = value; end
def page_indicator_tint_color; @view.pageIndicatorTintColor; end
def page_indicator_tint_color=(color); @view.pageIndicatorTintColor = color;end
def current_page_indicator_tint_color; @view.currentPageIndicatorTintColor;end
def current_page_indicator_tint_color=(color);@view.currentPageIndicatorTintColor = color;end
end
end

View File

@@ -17,6 +17,22 @@ module RubyMotionQuery
def content_inset=(value) ; @view.contentInset = value ; end
def content_inset ; @view.contentInset ; end
def bounces=(value); @view.bounces = value; end
def bounces; @view.bounces; end
def content_size=(value); @view.contentSize = value; end
def content_size; @view.contentSize; end
def shows_horizontal_scroll_indicator=(value); @view.showsHorizontalScrollIndicator = value; end
def shows_horizontal_scroll_indicator; @view.showsHorizontalScrollIndicator; end
def shows_vertical_scroll_indicator=(value); @view.showsVerticalScrollIndicator = value; end
def shows_vertical_scroll_indicator; @view.showsVerticalScrollIndicator; end
def scroll_indicator_insets=(value); @view.scrollIndicatorInsets = value; end
def scroll_indicator_insets; @view.scrollIndicatorInsets; end
end
end

View File

@@ -283,6 +283,14 @@ module RubyMotionQuery
@view.layer
end
def border_width=(value)
@view.layer.borderWidth = value
end
def border_width
@view.layer.borderWidth
end
end
end
end