Code conversion question
I want to convert from CFTypeRef to CFStringRef, I am using the following code -
If anybody knows how to do that then plz help me out.
You are out of my common knowledge...
Assuming the value is an NSString then have you tried this;
CFStringRef myString = (CFStringRef) value;I type cast to avoid a compiler warning; initialization from incompatible pointer type. I find that curious because as I understand the documentation, the types are suppose to be equivalent.
You may want to review the CFType Reference and CFString Reference documentation at Apple.
I closed this thread for now as spammers are constantly using it for their spam. If the OP needs any more help on this topic, let us know.
|All times are GMT -4. The time now is 07:20 PM.|
Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.