When might you use a cfarray/dictionary instead of a nsarray/dictionary?



When might you use a cfarray/dictionary instead of a nsarray/dictionary?..

Answer / Daya Shankar Dwivedi

You might use Core Foundation (cf) arrays and dictionaries when working with C APIs that don't have direct Objective-C equivalents or when dealing with C libraries. It is also possible to bridge Core Foundation objects with Objective-C objects, but using NSArray and NSDictionary directly may provide better integration with other Objective-C frameworks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is synchronized() block in objective c?

1 Answers  


How to sort array of dictionary in objective c?

1 Answers  


Is objective c open source?

1 Answers  


Can a static library (.a) contain resources like images, sound files etc?

1 Answers  


Why we use synthesize in objective c?

1 Answers  


When will you use nsarray and nsmutablearray? Which one is faster?

1 Answers  


What is property classification?

1 Answers  


Is objective c and c the same?

1 Answers  


How to declare global variable in objective c?

1 Answers  


What is objective writing?

1 Answers  


What do you mean by category and when to use it?

1 Answers  


How to create thread in objective c?

1 Answers  


Categories