Skip to content

Commit 01c6591

Browse files
committed
Merge pull request #228 from twlkyao/patch-1
Correct translation.
2 parents 3e43168 + 6e92336 commit 01c6591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/chapter2/14_Initialization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ cheeseQuestion.response = "Yes, I do like cheese.
170170
>注意:
171171
对某个类实例来说,它的常量属性只能在定义它的类的构造过程中修改;不能在子类中修改。
172172
173-
你可以修改上面的`SurveyQuestion`示例,用常量属性替代变量属性`text`,指明问题内容`text`在其创建之后不会再被修改。尽管`text`属性现在是常量,我们仍然可以在其类的构造器中修改它的值
173+
你可以修改上面的`SurveyQuestion`示例,用常量属性替代变量属性`text`,指明问题内容`text`在其创建之后不会再被修改。尽管`text`属性现在是常量,我们仍然可以在其类的构造器中设置它的值
174174
175175
```swift
176176
class SurveyQuestion {

0 commit comments

Comments
 (0)