iPhone - why are some methods declared on .m and not on .h?
<p>I am creating a new file using Xcode's navigation based application and I see that the .m file has these lines:</p>

<pre><code>@interface RootViewController ()
- (void)configureCell:(UITableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath;
@end
</code></pre>

<p>Why is that declared on .m and not on .h itself?</p>

<p>wouldn't it be easier to just put one line (this one below) on the header file?</p>

<pre><code>- (void)configureCell:(UITableViewCell *)cell atIndexPath:(NSIndexPath *)indexPath;
</code></pre>

<p>I have seen this kind of approach in other codes. I am still learning Objective-C and I wonder why is that.</p>

<p>thanks.</p>
