Skip to content

Commit a27f18c

Browse files
committed
Update the readme about the demo and screenshots
1 parent a3b7bab commit a27f18c

File tree

7 files changed

+23
-3
lines changed

7 files changed

+23
-3
lines changed

Example/Screenshot/Demo-iOS.jpg

89.2 KB
Loading

Example/Screenshot/Demo-iOS.png

-910 KB
Binary file not shown.

Example/Screenshot/Demo-macOS.jpg

156 KB
Loading

Example/Screenshot/Demo-macOS.png

-416 KB
Binary file not shown.

Example/Screenshot/Demo-tvOS.jpg

158 KB
Loading

Example/Screenshot/Demo-watchOS.jpg

32.3 KB
Loading

README.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,37 @@ cd Example
116116
pod install
117117
```
118118

119-
Then open the Xcode Workspace to run the demo application. You can run it on iOS and macOS.
119+
Then open the Xcode Workspace to run the demo application.
120+
121+
Since SwiftUI is aimed to support all Apple platforms, our demo does this as well, one codebase including:
122+
123+
+ iOS (iPhone/iPad/Mac Catalyst)
124+
+ macOS
125+
+ tvOS
126+
+ watchOS
127+
128+
Tips:
129+
130+
1. Use `Switch` (right-click on macOS) to switch between `WebImage` and `AnimatedImage`.
131+
2. Use `Reload` (right-click on macOS/force press on watchOS) to clear cache.
120132

121133
## Screenshot
122134

123135
+ iOS Demo
124136

125-
<img src='https://raw.githubusercontent.com/SDWebImage/SDWebImageSwiftUI/master/Example/Screenshot/Demo-iOS.png' width=960 />
137+
<img src='https://raw.githubusercontent.com/SDWebImage/SDWebImageSwiftUI/master/Example/Screenshot/Demo-iOS.jpg' width=960 />
126138

127139
+ macOS Demo
128140

129-
<img src='https://raw.githubusercontent.com/SDWebImage/SDWebImageSwiftUI/master/Example/Screenshot/Demo-macOS.png' width=960 />
141+
<img src='https://raw.githubusercontent.com/SDWebImage/SDWebImageSwiftUI/master/Example/Screenshot/Demo-macOS.jpg' width=960 />
142+
143+
+ tvOS Demo
144+
145+
<img src='https://raw.githubusercontent.com/SDWebImage/SDWebImageSwiftUI/master/Example/Screenshot/Demo-tvOS.jpg' width=960 />
146+
147+
+ watchOS Demo
148+
149+
<img src='https://raw.githubusercontent.com/SDWebImage/SDWebImageSwiftUI/master/Example/Screenshot/Demo-watchOS.jpg' width=960 />
130150

131151
## Author
132152

0 commit comments

Comments
 (0)