Women in Technology

Hear us Roar



Article:
  Strings in Cocoa, Part 2
Subject:   Class methods.
Date:   2001-07-13 22:23:03
From:   canyonrat
In addition to all the string creation methods mentioned here, there are a bunch of class methods that differ only in that you aren't responsible for releasing the string.


There is even one, [NString string] IIRC, that creates an empty, immutable string. What good is that?

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Class methods.
    2001-07-14 18:53:05  canyonrat [View]

    Answering my own question:

    An empty immutable string is useful for initializing string instance variables.