Re: Defining a constant as private
Re: Defining a constant as private
- Subject: Re: Defining a constant as private
- From: j o a r <email@hidden>
- Date: Wed, 16 Jun 2004 16:13:44 +0200
On 2004-06-16, at 15.46, Joakim Danielson wrote:
>
What is the advantage of using a string constant compared to a
>
constant NSString object if I'm using the constant when working with
>
NSMutableString objects? In the class I'm writing right now I'm using
>
the constant to append it to another string with something like this:
>
>
[myMutableString appendString:myConstantString] or for a string
>
constant [myMutableString
>
appendString:[stringWithCString:myConstantString]]
In that case it would be a disadvantage to have a string (and not
NSString) constant.
j o a r
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.