Re: Initializing an Array
Re: Initializing an Array
- Subject: Re: Initializing an Array
- From: Jeff Galyan <email@hidden>
- Date: Tue, 22 Jan 2002 14:04:14 -0700
Also, doing the same type of thing in Carbon works as it should.
--Jeff
On 1/22/02 1:46 PM, "Jeff Galyan" <email@hidden> wrote:
>
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
>
_______________________________________________
>
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.