class UIImageView

Public Instance Methods

url=(url) click to toggle source
# File lib/afmotion/ext/UIImageView_url.rb, line 2
def url=(url)
  case url
  when Hash
    self.setImageWithURL((url[:url] && url[:url].to_url), placeholderImage: url[:placeholder])
  else
    self.setImageWithURL(url && url.to_url)
  end
end