advertisement

Article:
  Strings in Cocoa: Part I
Subject:   Comparing strings
Date:   2001-07-02 07:41:35
From:   canyonrat
Response to: Comparing strings

Actually, comparing string1 and string2 with == didn't work when I compiled Mike's code fragment as a standard tool. This is surprising because both my memory and Help Viewer agree that gcc pools strings by default.


Wouldn't operator overloading be nice in ObjC? Comparing NSString with == should work.


1 to 1 of 1
  1. Comparing strings
    2001-07-03 14:38:00  wcray [View]

    • Comparing strings
      2001-07-03 16:44:43  canyonrat [View]

      • Comparing strings
        2001-07-04 18:36:41  bigboytoddy [View]

        • Comparing strings
          2001-07-04 23:33:56  canyonrat [View]

    • Michael Beam photo Comparing strings
      2001-07-03 15:53:58  Michael Beam | O'Reilly Author [View]

1 to 1 of 1