How to avoid duplicate elements in NSArray and print in a Table View Cell
===

My Array element looks like this

     150,
    150,
    150,
    571,
    571,
    571,
    692,
    692,
    692,
    123,
    123,
    123,
    144,
    144,
    144,
    147,
    147,
    147,
    155,
    155,
    155,
    542,
    542,
    542,
    548,
    548,
    548,
    551,
    551,
    551

And i need to display all the elements but not repeatedly same elements and it have to be printed in UItableView.Here is my code,

    NSArray *array=[jsonarray valueForKey:@"ID"];
    cell.textLabel.text=[array objectAtIndex:indexPath.row] ;

Here my jsonarray have various fields among that ID is one.Guidance Please..