• 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: Pete Yandell <email@hidden>
  • Date: Fri, 13 Feb 2004 08:52:34 +1100

Roberto,

I'd like to suggest that you go and get yourself both a book on Cocoa and a basic programming book.

You've asked several questions a day on this list for the past few days and they've almost all been very, very simple questions which having a basic understanding of data structures and reading the documentation should answer.

You should also have a read of this: http://www.catb.org/~esr/faqs/smart-questions.html, and the thread from not long ago on list-etiquette.

In particular you have a habit of posting one line questions when you really should provide more information, and describe the attempts you've made to find the answer on your own.

For example, isEqualToData is the right way to compare two NSData objects. If your application is crashing then there is something wrong elsewhere, but with the minimal information that you've provided nobody here can tell you what the real problem might be.

Pete Yandell
http://pete.yandell.com/

On 12/02/2004, at 11:40 PM, Roberto Sobachi wrote:

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: BUG ? kCGDesktopWindowLevel and Expose
  • Next by Date: Re: How do you find an underlying view?
  • Previous by thread: Re: Compare to NSData Objects
  • Next by thread: Re: Use of mouseOver & live-feedback (possibly OT)
  • Index(es):
    • Date
    • Thread