Re: init vs awakefromnib
Re: init vs awakefromnib
- Subject: Re: init vs awakefromnib
- From: Jerry Krinock <email@hidden>
- Date: Sat, 10 Mar 2007 17:20:42 -0800
- Thread-topic: init vs awakefromnib
on 07/03/10 16:30, Ahmet Taha Sakar at email@hidden wrote:
> I declare it in the interface, and in implimentation I alloc and init.
>
> so it's like
> NSMutableArray *myarray;
>
>
> myArray = [[NSMutableArray alloc] init]
>
> If I do the second line in init method of class, it doesnt stick around.
> but if I do it in awakefromnib it's there.
You should post some code, because that's not the way it works.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden