How I can iterate array with type NSString and type int. And get NSString element with lowest int? : I have some array with employees and their salary, I need iterate array and output one employee with lowest salary in all array.

     //array
    @property(strong,nonatomic) NSMutableArray<Employee *> *employees;

    -(void) addEmployeeWithName:(NSString *)employeesName andLastName:(NSString *) employeesLastName andSalary:(int)employeesSalary;

    //implementation of method
    -(void) addEmployeeWithName:(NSString *)employeesName andLastName:(NSString *)employeesLastName andSalary:(int)employeesSalary
{
  
    Employee *myEmp =[[Employee alloc] initWithFirstName:employeesName lastName:employeesLastName salary:employeesSalary];

    [self.employees addObject:myEmp];
}


    //In main() function something like this:
    Employee *emp1 = [[Employee alloc] initWithFirstName:@"Bob"   lastName:@"Lan" salary:1];
    Employee *emp2 = [[Employee alloc] initWithFirstName:@"Ivan" lastName:@"Pal" salary:22];