mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
* 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
25 lines
534 B
Markdown
25 lines
534 B
Markdown
## 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:
|
|
|
|
|
|
```swift
|
|
ASPINRemoteImageDownloader.shared().cachedImage(with: url, callbackQueue: .main) { result in
|
|
…
|
|
}
|
|
```
|
|
|
|
Becomes
|
|
|
|
```swift
|
|
ASPINRemoteImageDownloader.shared().cachedImage(with: url, callbackQueue: .main) { result, cacheType in
|
|
…
|
|
}
|
|
```
|