Re: cocoa-dev digest, Vol 2 #831 - 15 msgs
Re: cocoa-dev digest, Vol 2 #831 - 15 msgs
- Subject: Re: cocoa-dev digest, Vol 2 #831 - 15 msgs
- From: Cameron Hayne <email@hidden>
- Date: Mon, 24 Jun 2002 13:07:38 -0400
Albert Atkinson <email@hidden> wrote:
fileName = [programBundle pathForResource:@"Apple" ofType:@"tiff"];
fileNameThrust = [programBundle pathForResource:@"Apple Thrust"
ofType:@"tiff"];
I think you need to 'retain' these two NSStrings.
As a general rule, you need to either alloc or retain all of your ivar
pointers.
... Cameron
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
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.