This code works, hide the search bar if less than ten items, but I don't like the casts to int. Is there a better way to do it?
if( kScreenFull > ((int)[[self tableView] numberOfRowsInSection:kReal] + (int)[[self tableView] numberOfRowsInSection:kIncome]) )
[self.tableView setContentOffset:CGPointMake(0.0, 44.0) animated:NO];