mirror of
https://github.com/TextureGroup/Texture.git
synced 2026-04-07 19:17:39 +00:00
With the breaking change of renaming ASNavigationController to ASDKNavigationController, we have released a new version of Texture. Please see `ThreeMigrationGuide.md` for how to handle the breaking changes in 3.1.0.
29 lines
644 B
Markdown
29 lines
644 B
Markdown
## Texture 3.1 Migration Guide
|
|
|
|
Got a tip for upgrading? Please open a PR to this document!
|
|
|
|
- Rename all instances of ASNavigationController to ASDKNavigationController
|
|
|
|
## Texture 3.0 Migration Guide
|
|
|
|
- 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
|
|
…
|
|
}
|
|
```
|