Stumped on nil tableview.

Discussion in 'iOS Programming' started by Coolio098, Nov 3, 2010.

  1. Coolio098 macrumors newbie

    Joined:
    Nov 3, 2010
    #1
    Hey everyone.

    Currently I have the following setup in Interface Builder:

    UITableViewController ---> UIView ---> TableView

    Now my reloadData function works when called using a button, however, viewWillAppear and viewDidAppear won't reload the data. Also, under viewWillAppear and viewDidAppear, self.tableView shows up as null. When I call the reloadData from a button it shows that self.tableView has a value. Any clues as to why this might be happening?
     
  2. ritsard macrumors regular

    ritsard

    Joined:
    Jun 18, 2009
    Location:
    SF Bay Area, CA

Share This Page