Re: Questions about manipulation of plist file
Re: Questions about manipulation of plist file
- Subject: Re: Questions about manipulation of plist file
- From: Miro Jurišić <email@hidden>
- Date: Tue, 30 Nov 2004 23:55:24 -0500
CFDictionaryRef dict = (CFDictionaryRef )propertyList;
You should call CFGetTypeID(propertyList) and compare it with
CFDictionaryGetTypeID() to make sure the propertyList is actually a
CFDictionary, before casting it.
char *p = CFDictionaryGetValue(dict, "City of Birth");
You have to use CFSTR("..."), but sadly you won't get a compiler error,
only a crash, if you forget to.
meeroh
--
<http://web.meeroh.org/> | KB1FMP
"And when I have understanding of computers, I shall be
the supreme being!" -- Evil, "Time Bandits"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden