Re: Initializing an Array
Re: Initializing an Array
- Subject: Re: Initializing an Array
- From: Jeff Galyan <email@hidden>
- Date: Tue, 22 Jan 2002 13:46:07 -0700
On 1/22/02 1:33 PM, "Brian Webster" <email@hidden> wrote:
>
>
I notice that you don't call [super init] in your
>
initWithString: method. Is this so in your real app, or did you
>
just forget in this example?
I just forgot in this example. The real app code calls [[super alloc] init]
(the real code belongs to a client, and I don't have permission to release
it). Also, it doesn't matter what gets done with myString in each of the
methods; the results are the same unless I pass the NSString pointer in to
each method instead of keeping it as an ivar.
--Jeff