ios - Shift UITableViewCell to one position right -


i'm using custom uiview table header , header overlapping cell @ 0 index.

i'm trying move cells of table view 1 position right. i.e

cell @ 0th index should shifted 1st index

cell @ 1st index should shifted 2nd index

until there cell+1 cells

code: cellforrowatindexpath

    .....      if (indexpath.row == 0){         cell.hidden = true         for(var index = indexpath.row-1; index >= 0; index--){             indexpath.indexatposition(index)+1 = indexpath.indexatposition(index) } 

error: cannot assign value of type '(int)' value type 'int'

thanks.

just increase height of header using

- (cgfloat)tableview:(uitableview *)tableview heightforheaderinsection:(nsinteger)section; 

and should not overlap first cell , need not shift cells


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -