Re: Dodgy Code - Low Level Memory Management Question!
Re: Dodgy Code - Low Level Memory Management Question!
- Subject: Re: Dodgy Code - Low Level Memory Management Question!
- From: Jens Alfke <email@hidden>
- Date: Mon, 25 Jan 2016 11:06:39 -0800
> On Jan 25, 2016, at 10:48 AM, Dave <email@hidden> wrote:
>
> if ( myCachedObject == nil);
The trailing semicolon on that line above must be a typo. It’s going to cause the test to be ignored and the block below to always run.
> {
> self = myNewObject;
> [LTWCacheManager addToCache: myID];
> return self;
> }
—Jens
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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