NSInteger indexOfMatchedObject = [self.array indexOfObject:object.objectId];
i need to check if there is value in indexOfMatchedObject
or not, how can i do this?
Use the constant NSNotFound
to determine whether the object was present in the array or not.