Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

Is CFSTR() function still needed in world of Automatic Reference Counting?

I am new to Objective-C and iPhone development, and was happy to learn that the new SDK included ARC and removed the need to clean up, like C++. But I am researching a project written  by Apple in 2010 and see this use of a function called CFSTR().

      NSArray *people = (NSArray *)ABAddressBookCopyPeopleWithName(addressBook, CFSTR("Appleseed"));

Do I need to use this still?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of mad_mac
mad_mac

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

I have some studying to do...

Thanks.