Also,

>>      [LTWCacheManager addToCache: myID];     

Should be [LTWCacheManager addID:myID withObject:myNewObject];   or some such 
(this is pseudo code really).


> On 25 Jan 2016, at 19:06, Jens Alfke <j...@mooseyard.com> wrote:
> 
> 
>> On Jan 25, 2016, at 10:48 AM, Dave <d...@looktowindward.com 
>> <mailto:d...@looktowindward.com>> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to