• 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: Returns from a sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returns from a sheet


  • Subject: Re: Returns from a sheet
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 3 May 2002 23:10:42 +0200

On Friday, May 3, 2002, at 09:47 , Esteban Uribe wrote:

Ondra, Is there any reason to use isEqualTo then?

'Course there is: if you want to compare object *contents*.

The most obvious case is with strings, of course:

NSString *s=...,*t=[s copy];

s==t ... false
[s isEqual(ToString):t] ... true.

Depends on what you exactly need.

Or does isEqualTo just call return sender==object?

I believe that it indeed does, for NSObject and anything which does not have its own implementation.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: 
 >Re: Returns from a sheet (From: Esteban Uribe <email@hidden>)

  • Prev by Date: Re(2): Returns from a sheet
  • Next by Date: Re: Returns from a sheet
  • Previous by thread: Re: Returns from a sheet
  • Next by thread: Re: Returns from a sheet
  • Index(es):
    • Date
    • Thread