     func nk_cancelLoading()
     
     /** Loads and displays an image for the given URL. Cancels previously stared requests.
+     
+     Default implementation uses ImageContentMode.AspectFill, and current view size multiplied by screen scaling factor as an image target size.
     */
     func nk_setImageWithURL(URL: NSURL) -> ImageTask
     

}

public extension View {
    public func nk_targetSize() -> CGSize {
        let size = self.bounds.size
        #if os(iOS) || os(tvOS)

// MARK: - ImageDisplayingView

/** View that supports displaying loaded images.

See https://github.com/kean/Nuke/issues/38 for more info about overriding those methods.
*/
public protocol ImageDisplayingView: class {
    var nk_image: Image? { get set }
