• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Compare to NSData Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Compare to NSData Objects (From: Roberto Sobachi <email@hidden>)

  • Prev by Date: Re: is this enough for a singleton? (for a class cluster "placeholder")
  • Next by Date: Re: About private framework
  • Previous by thread: Re: Compare to NSData Objects
  • Next by thread: Re: Compare to NSData Objects
  • Index(es):
    • Date
    • Thread