 // Moa.swift
 //
 // ----------------------------
-
-
 
 import UIKit
 

  moa.onSuccessAsync = { image in
    return image
  }
  moa.url = "http://site.com/moa.jpg"
*/
public final class Moa {
  private var imageDownloader: MoaImageDownloader?

//
// ----------------------------

import UIKit

private var xoAssociationKey: UInt8 = 0

/**

UIImageView extension for downloading image.

  let imageView = UIImageView()
  imageView.moa.url = "http://site.com/image.jpg"

*/
public extension UIImageView {
  /**
  
  Image download extension.
  Assign its `url` property to download and show the image in the `UIImageView`.
  
    let imageView = UIImageView()
    imageView.moa.url = "http://site.com/image.jpg"
  
  */
  public var moa: Moa {
    get {
      if let value = objc_getAssociatedObject(self, &xoAssociationKey) as? Moa {
