motion-prime/views/view_styler.rb in motion-prime-0.1.7 vs motion-prime/views/view_styler.rb in motion-prime-0.2.0

- old
+ new

@@ -124,9 +124,11 @@ else view.setBackgroundColor value.uiimage.uicolor end elsif key.end_with?('image') view.setValue value.uiimage, forKey: key.camelize + elsif key == 'keyboard_type' + view.setKeyboardType value.uikeyboardtype elsif value.is_a?(Hash) self.class.new(view.send(key.camelize(:lower).to_sym), nil, value).apply else view.setValue value, forKey: key.camelize(:lower) end \ No newline at end of file