Files
Texture/ThreeMigrationGuide.md
ricky 63f510caaa [3.1.0] Create new version of ASDK (#2021)
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.
2021-09-09 16:33:53 -07:00

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