Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

diyora

macrumors newbie
Original poster
Jul 21, 2008
25
0
Hello all,
I am newbie in cocoa.I am doing coding in cocoa touch.
I try code;
CFTypeRef address;
NSString *street = address objectForKey:(NSString*)kABPersonAddressStreetKey;

I get the output but it give me warning:invalid receiver type 'CFTypeRef'.

Thank you...
 
I'm guessing you need to declare it as a ABRecordRef instead of CFTypeRef, but I'd need to see more code to make sure.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.