Skip to content

Commit 33ee34d

Browse files
authored
Merge pull request Jinxiansen#20 from wxxsw/master
Fix naming TableView => TabView
2 parents 6923e0d + 89432f7 commit 33ee34d

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ When learning and using `SwiftUI`, if you have any questions, you can join the S
7979

8080
* <span id="Architectural_D">Architectural Views</span>
8181
- [NavigationView](#NavigationView)
82-
- [TableView](#TableView)
82+
- [TabView](#TabView)
8383
- [HSplitView](#HSplitView)
8484
- [VSplitView](#VSplitView)
8585

@@ -712,9 +712,9 @@ NavigationView {
712712

713713
[🔝](#Layout_D)
714714

715-
<h4 id="TableView"> TableView </h4>
715+
<h4 id="TabView"> TabView </h4>
716716

717-
`TableView` is used to create a view container that contains the bottom ** TabBar**.
717+
`TabView` is used to create a view container that contains the bottom ** TabBar**.
718718

719719
Example:
720720

@@ -733,7 +733,7 @@ TabView(selection: $index) {
733733

734734
<details close>
735735
<summary>View running results</summary>
736-
<img width="80%" src="images/example/TableView.png"/>
736+
<img width="80%" src="images/example/TabView.png"/>
737737
</details>
738738

739739
[🔝](#Layout_D)

README_CN.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383

8484
* <span id="Architectural_D">Architectural Views 导航、切换、排列</span>
8585
- [NavigationView](#NavigationView)
86-
- [TableView](#TableView)
86+
- [TabView](#TabView)
8787
- [HSplitView](#HSplitView)
8888
- [VSplitView](#VSplitView)
8989

@@ -718,9 +718,9 @@ NavigationView {
718718

719719
[🔝](#Layout_D)
720720

721-
<h4 id="TableView"> TableView </h4>
721+
<h4 id="TabView"> TabView </h4>
722722

723-
`TableView` 用于创建包含底部 ** TabBar** 的视图容器
723+
`TabView` 用于创建包含底部 ** TabBar** 的视图容器
724724

725725
示例:
726726

@@ -739,7 +739,7 @@ TabView(selection: $index) {
739739

740740
<details close>
741741
<summary>查看运行效果</summary>
742-
<img width="80%" src="images/example/TableView.png"/>
742+
<img width="80%" src="images/example/TabView.png"/>
743743
</details>
744744

745745
[🔝](#Layout_D)
File renamed without changes.

0 commit comments

Comments
 (0)