|
Fills the body of an overridden initializer when it is generated, for example,
with the Code | Generate | Override Methods action. 该模板可编辑。 除了 Swift 表达式和注释外,您还可以使用预定义变量,这些变量随后将被扩展为相应值。 |
| 预定义变量将接受以下值: | ||
a super initializer call - super.init() with or without parameters
|
||
| 方法的签名 | ||
| Swift 文件头模板(Include 标签页)中的所有预定义变量也可用(例如 ${USER}、${DATE} 等)。 | ||