I have the next NSMutableArray:
Product[0] {
name => val1,
Price => pricevalue 1
}
Product[1] {
name => val2,
Price => pricevalue2
}
I want to search for: name = val2 and return the index of product, so 1.
I have the next NSMutableArray:
Product[0] {
name => val1,
Price => pricevalue 1
}
Product[1] {
name => val2,
Price => pricevalue2
}
I want to search for: name = val2 and return the index of product, so 1.