mirror of
https://github.com/zhigang1992/rmq.git
synced 2026-01-12 17:52:17 +08:00
added accessory_view styler
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
module RubyMotionQuery
|
||||
module Stylers
|
||||
|
||||
class UITableViewCellStyler < UIViewStyler
|
||||
|
||||
class UITableViewCellStyler < UIViewStyler
|
||||
|
||||
def accessory_type=(value)
|
||||
@view.accessoryType = value
|
||||
end
|
||||
@@ -11,7 +11,15 @@ module RubyMotionQuery
|
||||
@view.accessoryType
|
||||
end
|
||||
|
||||
def accessory_view=(value)
|
||||
@view.accessoryView = value
|
||||
end
|
||||
|
||||
def accessory_view
|
||||
@view.accessoryView
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user