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: Dave <email@hidden>
- Date: Mon, 25 Jan 2016 19:24:31 +0000
Yes, A typeo, sorry!
> On 25 Jan 2016, at 19:06, Jens Alfke <email@hidden> wrote:
>
>
>> On Jan 25, 2016, at 10:48 AM, Dave <email@hidden <mailto: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