0 Replies - 1804 Views - Last Post: 10 September 2012 - 05:58 PM

#1 DpinkyandDbrain  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 40
  • Joined: 09-March 10

Getting UITabViewController Error in function tableView:cellForRowAtIn

Posted 10 September 2012 - 05:58 PM

Hello all,

I am fairly new to Objective C and to iOS development in general, and I'm still trying to get a feel for it. But, I am trying to make a simple iOS app with (as of right now) a UITabViewController as the main page. I am just trying to get the tabs to appear I have:

    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
       // Return the number of sections.
       return 1;

    - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
       // Return the number of rows in the section.
       return 1;

    - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath    *)indexPath
        static NSString *cervical_patterns = @"cervical_patterns";
        UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cervical_patterns"];
       return cell;

What I have followed close to the your second iOS app tutorial and have gotten a UITabViewController to be viewable in the simulator. But, I cant figure out why this is not working like the birdwatching app.

I'm not exactly what other code would be needed to solve this issue so please ask for more code if needed

Thanks in advanced

Is This A Good Question/Topic? 0
  • +

Page 1 of 1