Re: Why doesn't CFDictionaryContainsKey() work?
Re: Why doesn't CFDictionaryContainsKey() work?
- Subject: Re: Why doesn't CFDictionaryContainsKey() work?
- From: Shawn Erickson <email@hidden>
- Date: Thu, 16 Nov 2006 08:13:51 -0800
On Nov 16, 2006, at 8:07 AM, Alan Smith wrote:
- (BOOL)hasKey:(id)key
{
return CFDictionaryContainsKey(self, *key);
}
Why do you dereference "key" before calling into
CFDictionaryContainsKey?
Remove that and things should work because "id" is a pointer already.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden