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 |
What are static attributes?
What is difference between extern and global?
What is concept of property?
What is the use of objective c?
How to add object to nsarray objective c?
What is difference between method and constructor?
Who calls dealloc method? Can we implement dealloc in arc?
What are the attributes of category?
How to convert string to nsnumber in objective c?
What is objective c & why it is used for?
What is difference between nil and nill?
What is protocol with example?