calling view methods from a view controller
<p>This is a simple question, and I'm sure I got it work in the past. I'm trying to call a method in a view </p>

<pre><code>#import &lt;UIKit/UIKit.h&gt;

@interface View : UIView {
}

-(void)spinAction;

@end
</code></pre>

<p>from a view controller</p>

<pre><code>#import &lt;UIKit/UIKit.h&gt;
#import "View.h"

@interface layers3ViewController : UIViewController {   
    IBOutlet View *view;
}

-(IBAction)spinButton:(id)sender;

@end
</code></pre>

<p>via the  method</p>

<pre><code>-(IBAction)spinButton:(id)sender{
    [view spinAction];
}
</code></pre>

<p>but cannot get to it work. Everything is put together using the Interface Builder. Am I doing something fundamentally wrong here? A previous code worked by putting</p>

<pre><code>[self.view spinAction]
</code></pre>

<p>albeit with error messages but not even that works here. Any hints / suggestions more than welcome.</p>
