开发者

How to automatically insert code for an Xcode video demo

开发者 https://www.devze.com 2022-12-23 12:37 出处:网络
I\'ve been watching some of the WWDC 2009 videos which include some video demos in Xcode. The presenters are using some sort of macr开发者_开发问答o or script bound to a keyboard shortcut to automatic

I've been watching some of the WWDC 2009 videos which include some video demos in Xcode. The presenters are using some sort of macr开发者_开发问答o or script bound to a keyboard shortcut to automatically insert some pre-prepared code at the current caret location. Each time they press the key, the next prepared snippet is inserted.

Does anybody know how this is done?


I believe the presenters use DemoAssistant which is Apple sample code.

It's a service that copies lines from a code file a line at a time.

0

精彩评论

暂无评论...
验证码 换一张
取 消