问题
In Standford CS 193P 2013-2014 Fall lecture 7, the instructor shows the following thing. But I can't reproduce that mysef in Xcode 6. Anybody knows that? (.gif can also be seen here)

回答1:
It's code snippet.
You can create your own code snippet in XCode.
- Type the template code in XCode
- Copy it and drag it to the comment section in the Utility panel
- Give a title and completion shortcut
- Whenever you type the shortcut, XCode will show the auto-completion option

来源:https://stackoverflow.com/questions/28779480/how-to-implement-this-generate-setter-automatically