Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the meaning of this sign?

I am new for iphone developing. I get code from any where but i can nit understand what is use of this sign (=)which is shown in below image.image

like image 936
iRam11 Avatar asked Feb 23 '23 06:02

iRam11


2 Answers

It means that you can move the row up or down in the table.

If you want to respond to those actions, take a look at your UITableViewDataSource. The section on "Reordering Table Rows" is the relevant part.

like image 130
Stephen Darlington Avatar answered Mar 08 '23 09:03

Stephen Darlington


This sign show that u can move row up and down for this in UItable Class u will get function which is define below.

// Override to support rearranging the table view.

- (void)tableView:(UITableView *)tableView moveRowAtIndexPath:(NSIndexPath *)fromIndexPath toIndexPath:(NSIndexPath *)toIndexPath {
//write your code

}

// Override to support conditional rearranging of the table view.

 - (BOOL)tableView:(UITableView *)tableView canMoveRowAtIndexPath:(NSIndexPath *)indexPath {
// Return NO if you do not want the item to be re-orderable.
return YES;

}

like image 45
ram Avatar answered Mar 08 '23 11:03

ram