I want to override this method for comparing two objects.
-(BOOL)isEqual:(id)object
Calling function
-(void)overridemethod(
custom class object1 isEqual: custom class object2
)
definition of function
let suppose comparing the date parameter of two objects. Then how can i do that.
Thanks in advance
an implementation will often take this form: