I'm creating a new subclass of UITableViewController, and with it the below default implementation. It doesn't compile , cause clearly there is no variable called "number of sections", what's going on here ? The error is : "expected expression before '<' token"
#pragma mark -
#pragma mark Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
// Return the number of sections.
return number of sections;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
// Return the number of rows in the section.
return <#number of rows in section#>;
}