Re: Compare to NSData Objects
Re: Compare to NSData Objects
- Subject: Re: Compare to NSData Objects
- From: Stefan Pantke <email@hidden>
- Date: Thu, 12 Feb 2004 14:59:32 +0100
Please use
>>>
- (BOOL)isEqualToData:(NSData *)otherData
Compares the receiving data object to otherData. If the contents of
otherData are equal to the contents of the receiver, this method
returns YES. If not, it returns NO. Two data objects are equal if they
hold the same number of bytes, and if the bytes at the same position in
the objects are the same.
<<<
And please download (sorry, no link available, but I may send you a
copy of my installation)
Cocoa Browser.
This small tool greatly simplyfies browser Cocos documentation.
Kind regards,
Stefan
Am 12.02.2004 um 13:40 schrieb Roberto Sobachi:
How can I compare 2 NSData objects?
I tried isEqualToData, but the application crash.
I've got 2 NSImage to compare, and I think to convert them into NSData
objects.
Any advice to compare?
Roberto Sobachi
developer
http://www.xidiar.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.