views:

43

answers:

1

I get an 'Accessing unknown 'view' component of a property' error, when I'm trying this:

if (self.newsViewController.view.superview == nil)

I have a synthesize and an import for NewsViewController. What I'm doing wrong?

A: 

Unfortunately, SO won't let me comment on your post, but if that:

@interface newsViewController : UIViewController {

is actually copy & pasted, it might just be a typo (lowercase 'n' instead of uppercase in NewsViewController)?

ig2r
yep, that did it! thanks!I used newsViewController in the beginning. Than I changed the class name to NewsViewController, but only the files and not the implementation.
testing