• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: More NSDictionary to CFDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More NSDictionary to CFDictionary


  • Subject: Re: More NSDictionary to CFDictionary
  • From: John Stiles <email@hidden>
  • Date: Thu, 16 Nov 2006 14:51:13 -0800


return CFDictionaryContainsKey( (CFDictionaryRef) self, aKey );

On Nov 16, 2006, at 2:45 PM, Kevin Bracey wrote:

Hi there,
Wow zillions times faster...

I guess this works fine because of Toll Free stuff but I now get a warning. How do I fix self? I normally just stick to Cocoa so I don't have to deal with these issues:-)

@implementation NSDictionary ( UWDictionaryAdditions )

-( BOOL )hasKey:( id )aKey;
{
	return CFDictionaryContainsKey( self, aKey);
}

UWDictionaryAdditions.m:16: warning: passing argument 1 of 'CFDictionaryContainsKey' from incompatible pointer type
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >More NSDictionary to CFDictionary (From: Kevin Bracey <email@hidden>)

  • Prev by Date: More NSDictionary to CFDictionary
  • Next by Date: Re: More NSDictionary to CFDictionary
  • Previous by thread: More NSDictionary to CFDictionary
  • Next by thread: Re: More NSDictionary to CFDictionary
  • Index(es):
    • Date
    • Thread