title: Profile Image does not appear when I run the app.
body: <p>Theres no error in my code but ImagevIew image doesn't show</p>
  
  <p>let imageCache = NSCache()</p>
  
  <p>extension UIImageView {</p>
  
  <pre><code>func loadImageUsingCacheWithUrlString(urlString: String) {
      //self.image = nil
      if let cachedImage = imageCache.object(forKey: urlString as AnyObject) as? UIImage {
          self.image = cachedImage
          return
      }
  
      let url = URL(string: urlString)
      URLSession.shared.dataTask(with: url!, completionHandler: { (data, response, error) in
          if error != nil {
              print(error!)
              return
          }
          DispatchQueue.main.async(execute: {
              if let currImage = UIImage(data: data!) {
                  imageCache.setObject(currImage, forKey: urlString as AnyObject)
                  self.image = currImage
              }
          })
      }).resume()
  }
  </code></pre>
  
  <p>}</p>