title: UIViewController, UITableView, Protocol
body: <p>I have a <code>UIViewController</code>, which has a </p>
  
  <pre><code> @interface MYViewController : UIViewController&lt;UITableViewDelegate&gt;
  
    @property (weak, nonatomic) IBOutlet UITableView *tblView;
  </code></pre>
  
  <p>Now I am implementing the UITableViewDelegate because I want to use the tableview.</p>
  
  <p>so in my <code>viewdidload</code> I do</p>
  
  <pre><code>- (void)viewDidLoad
    {
     [super viewDidLoad];
      self.tblView.delegate = self;
      //self.tblView.dataSource = self;
    }
  </code></pre>
  
  <p>Now the <code>Datasource</code> setting throws a warning, and I never hit the </p>
  
  <pre><code>cellForRowAtIndexPath
  </code></pre>
  
  <p>method. </p>
  
  <p>Sorry about the editing.</p>
  
  <p>What am I doing wrong?</p>