In
for(ProductProperties *pP in productList)
{
if([pP.rangeList isEqual:selectedRangeobj])
{
[rangebasedPL addObject:pP];
}
}
the code [pP.rangeList isEqual:selectedRangeobj]
returns true
for every simulators in Xcode but for iPad Retina (64 bit) and iPhone Retina (4 inch 64 bit) it returns false
. Is this a bug with 64 bit environment or what I have done wrong here?
rangeList and selectedRangeobj are defined as follows
@property (nonatomic, retain) NSManagedObject *rangeList;
@property (nonatomic,strong) NSMutableArray * selectedRangeobj;