mirror of
https://github.com/zhigang1992/rmq.git
synced 2026-01-12 17:52:17 +08:00
added styler mode constants
This commit is contained in:
@@ -54,6 +54,13 @@ module RubyMotionQuery
|
||||
rounded: UITextBorderStyleRoundedRect
|
||||
}
|
||||
|
||||
TEXT_FIELD_MODES = {
|
||||
never: UITextFieldViewModeNever,
|
||||
while_editing: UITextFieldViewModeWhileEditing,
|
||||
unless_editing: UITextFieldViewModeUnlessEditing,
|
||||
always: UITextFieldViewModeAlways
|
||||
}
|
||||
|
||||
# When you create a styler, always inherit UIViewStyler
|
||||
class UIViewStyler
|
||||
def initialize(view)
|
||||
|
||||
Reference in New Issue
Block a user