Skip to content

Instantly share code, notes, and snippets.

@sinc
Created April 13, 2012 09:50

Revisions

  1. sinc created this gist Apr 13, 2012.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    m_pTable.tableFooterView = [[UILabel alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 320.0f, 100.0f)];
    ((UILabel*)m_pTable.tableFooterView).text = @"Ничего не найдено";
    ((UILabel*)m_pTable.tableFooterView).textColor = [UIColor grayColor];
    ((UILabel*)m_pTable.tableFooterView).textAlignment = UITextAlignmentCenter;

    UIEdgeInsets e = UIEdgeInsetsMake(0, 0, -100, 0);
    [m_pTable setContentInset:e];