Re: Is This Right?
Re: Is This Right?
- Subject: Re: Is This Right?
- From: David Remahl <email@hidden>
- Date: Tue, 5 Jun 2001 22:06:13 +0200
Do I understand this right? Can these two lines of code:
NSMutableArray *myArray;
myArray = [[NSMutableArray alloc] init];
be combined thus:
NSMutableArray *myArray = [[NSMutableArray alloc] init];
Yup, that is correct, but that has to be made in the initialization part
of the function (before any non-declaring lines) to work in Obj-C.
/ david