Files
Texture/ThreeMigrationGuide.md
T
Garrett Moon c5f69f0b01 Renames AS_EXTERN and ASViewController (#1876)
* Renames AS_EXTERN and ASViewController

To ASDK_EXTERN and ASDKViewController.
This is to avoid conflicting with AuthenticationServices in
Xcode 12

* Fix up examples and docs

* Add bit about updating ASViewController rename
2020-06-29 12:49:59 -07:00

534 B

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
    …
}