How to make Xcode automatically conform to a protocol : <p>When I use a prototype table view, I always have to conform to the protocol <code>TableViewDataSource</code>. I always forget what methods I need to implement, so I have to look at the source of the protocol every time. This is really time consuming.</p>

<p>I think Xcode must have a feature that automatically implements the needed methods for you, right? Just like IntelliJ IDEA, Eclipse, and Visual Studio.</p>

<p>I want to know where can I find this feature. If there's isn't, is there a workaround for this? At least I don't have to open the source code of the protocol each time I conform to it.</p>

<p>If you don't understand what I mean, here's some code:</p>

<p>I have a protocol</p>

<pre><code>protocol Hello {
    func doStuff ()
}
</code></pre>

<p>When I conform to it,</p>

<pre><code>class MyClass: Hello {

}
</code></pre>

<p>I often don't remember the names of the methods that I need to implement. If Xcode has a feature that turns the above code, into this:</p>

<pre><code>class MyClass: Hello {
    func doStuff () {
        code
    }
}
</code></pre>

<p>Now you understand what I mean? I just want to ask where to find such a feature.</p>
