UIImageView
-
Undocumented
See moreDeclaration
Swift
public class Loader: UIView
-
Undocumented
Declaration
Swift
func bindPlaceholderWhile(feed downloading: () -> Void)
-
Undocumented
Declaration
Swift
func bindPlaceholderWhile(other downloading: () -> Void)
-
Undocumented
Declaration
Swift
func bindRefresh() -> Loader
-
Undocumented
Declaration
Swift
func bindPlaceholderWithBlured(_ imageToBlur: URL?, downloading: @escaping (_ done: @escaping () -> ()) -> ())
-
Undocumented
Declaration
Swift
func imageFrame() -> CGRect
-
Undocumented
Declaration
Swift
var originalUrl: URL
-
Convenince init that takes coordinates of bottom left corner, height width and image name.
Declaration
Swift
public convenience init(x: CGFloat, y: CGFloat, w: CGFloat, h: CGFloat, imageName: String)
-
Convenience init that takes coordinates of bottom left corner, image name and scales image frame to width.
Declaration
Swift
public convenience init(x: CGFloat, y: CGFloat, imageName: String, scaleToWidth: CGFloat)
-
Convenience init that takes coordinates of bottom left corner, width height and an UIImage Object.
Declaration
Swift
public convenience init(x: CGFloat, y: CGFloat, w: CGFloat, h: CGFloat, image: UIImage)
-
Convenience init that coordinates of bottom left corner, an UIImage object and scales image from to width.
Declaration
Swift
public convenience init(x: CGFloat, y: CGFloat, image: UIImage, scaleToWidth: CGFloat)
-
scales this ImageView size to fit the given width
Declaration
Swift
public func scaleImageFrameToWidth(width: CGFloat)
-
scales this ImageView size to fit the given height
Declaration
Swift
public func scaleImageFrameToHeight(height: CGFloat)
-
Rounds up an image by clipping the corner radius to one half the frame width.
Declaration
Swift
public func roundSquareImage()
-
Initializes an UIImage from URL and adds into current ImageView
Declaration
Swift
public func image(url: String)
-
Initializes an UIImage from URL and adds into current ImageView with placeholder
Declaration
Swift
public func image(url: String, placeholder: UIImage)
-
Initializes an UIImage from URL and adds into current ImageView with placeholder
Declaration
Swift
public func image(url: String, placeholderNamed: String)