Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 534 Bytes

ThreeMigrationGuide.md

File metadata and controls

24 lines (16 loc) · 534 Bytes

Texture 3.0 Migration Guide

Got a tip for upgrading? Please open a PR to this document!

  • Rename all instances of ASViewController to ASDKViewController

Breaking API Changes

ASImageCacherCompletion typedef has a new parameter: ASImageCacheType cacheType. Example:

ASPINRemoteImageDownloader.shared().cachedImage(with: url, callbackQueue: .main) { result in
    
}

Becomes

ASPINRemoteImageDownloader.shared().cachedImage(with: url, callbackQueue: .main) { result, cacheType in
    
}