Header file declaration in iPhone
<p><br>
   What is the difference between them:-</p>

<p>Approach 1:-</p>

<pre><code>@interface EffortView : UIView {

}    
@property (nonatomic, retain) UIView *homeView;    
@end
</code></pre>

<p>Approach 2:-</p>

<pre><code>@interface EffortView : UIView {
    UIView *homeView;
}    
@property (nonatomic, retain) UIView *homeView;    
@end
</code></pre>

<p>I have synthesized the properties in both cases. Both of them works. I am using Xcode 4.0 on Mac 10.6.6</p>

<p>Please enlighten me.</p>

<p>Thank you All.</p>
