Skip to content

Commit

Permalink
doc: update composing-views/demo1/README.md (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu-hongwei authored Jul 19, 2023
1 parent 93919d5 commit 2dba9a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ SwiftUI 示例,技巧和技术集合,帮助我构建应用程序,解决问

使您的UI结构更易于理解

- [如何创建和排版自定义视图](example/composing-views/demo1/README.md)
- [如何创建和组合自定义视图](example/composing-views/demo1/README.md)
- [如何将文本视图结合在一起?](example/composing-views/demo2/README.md)
- [如何将视图存储为属性?](example/composing-views/demo3/README.md)
- [如何创建自定义修改程序?](example/composing-views/demo4/README.md)
Expand Down
2 changes: 1 addition & 1 deletion example/composing-views/demo1/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
如何创建和排版自定义视图
如何创建和组合自定义视图
===

SwifUI 的一个核心原则是组成,这意味着它为我们设计了许多小视图,然后将它们与它们组合在一起,以创造更大的东西。 这使我们能够在大规模的规模上重新使用视图,这意味着对我们的工作较少。 甚至更好,结合小子视图几乎没有运行时开销,所以我们可以自由使用它们。
Expand Down
2 changes: 1 addition & 1 deletion idoc.chapters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
# 使您的UI结构更易于理解

- composing-views/: 排版视图
- composing-views/demo1/README.md: 如何创建和排版自定义视图
- composing-views/demo1/README.md: 如何创建和组合自定义视图
- composing-views/demo2/README.md: 如何将文本视图结合在一起?
- composing-views/demo3/README.md: 如何将视图存储为属性?
- composing-views/demo4/README.md: 如何创建自定义修改程序?
Expand Down

0 comments on commit 2dba9a1

Please sign in to comment.