Created
September 21, 2008 03:42
-
-
Save Alos/11833 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(boolean)isEqual:(id)anObject{ | |
if([[anObject class] instancesRespondToSelector:@selector("ID:")]) | |
if([anObject ID]==[self ID]) | |
return YES; | |
else | |
return NO; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment