用 Swift 編寫的異步 Web 圖像加載器:KFSwiftImageLoader

bgn4 9年前發布 | 16K 次閱讀 Apple Swift開發 KFSwiftImageLoader

KFSwiftImageLoader 是一個高性能、輕量級、節能的、用 Swift 編寫的異步 Web 圖片加載器。

  • WKInterfaceImage, UIImageView, UIButton, and MKAnnotationView categories for asynchronous web image loading.
  • Memory and disk cache to prevent downloading images every time a request is made or when the app relaunches, with automatic cache management to optimize resource use.
  • Energy efficiency by sending only one HTTP/HTTPS request for image downloads from multiple sources that reference the same URL string, registering them as observers for the request.
  • Maximum peformance by utilizing the latest and greatest of modern technologies such as Swift 1.2, NSURLSession, and GCD.

用 Swift 編寫的異步 Web 圖像加載器:KFSwiftImageLoader

項目主頁:http://www.baiduhome.net/lib/view/home/1430832714976

 本文由用戶 bgn4 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!