From 72c604d4ce57298a765e621ba8aedbafa2f2f2ef Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Sat, 16 Nov 2019 17:57:03 +0800 Subject: [PATCH] Update the readme chapter of FAQ --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 111ecb7..f888101 100644 --- a/README.md +++ b/README.md @@ -198,13 +198,18 @@ func application(_ application: UIApplication, didFinishLaunchingWithOptions lau For more information, it's really recommended to check our demo, to learn detailed API usage. You can also have a check at the latest API documentation, for advanced usage. +## Documentation + ++ [SDWebImageSwiftUI API documentation](https://sdwebimage.github.io/SDWebImageSwiftUI/) ++ [SDWebImage API documentation](https://sdwebimage.github.io/) + ## FAQ ### Common Problems + Using Image/WebImage/AnimatedImage in Button/NavigationLink -SwiftUI's button apply overlay to its content (except Text) by default, this is common mistake to write code like this, which cause strange behavior: +SwiftUI's `Button` apply overlay to its content (except `Text`) by default, this is common mistake to write code like this, which cause strange behavior: ```swift // Wrong @@ -227,11 +232,6 @@ Button(action: { .buttonStyle(PlainButtonStyle()) ``` -## Documentation - -+ [SDWebImageSwiftUI API documentation](https://sdwebimage.github.io/SDWebImageSwiftUI/) -+ [SDWebImage API documentation](https://sdwebimage.github.io/) - ## Demo To run the example using SwiftUI, following the steps: