Skip to content

Commit fb49650

Browse files
committed
init article
1 parent 4141a40 commit fb49650

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# イニシャライザを低コストにする
2+
Viewのイニシャライザは何度も呼び出されるため、低コストに保ちます。
3+
4+
## Overview
5+
xxx

Guide.docc/SwiftUIViewCodingGuidelines.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
- <doc:ChangeValueWhenSwitchingStyle>
4242
- <doc:HideViewWithOpacityWhenAvailable>
4343
- <doc:AssignUniqueValueToForEachID>
44+
- <doc:MakeInitializerLowCost>
4445

4546
### The Art of API Design
4647
- <doc:ProvidesContainerViewAccessViaProxy>

0 commit comments

Comments
 (0)