What is the 'interface' and 'implementation'?



What is the 'interface' and 'implementation'?..

Answer / Amajad Khan

In Objective-C, a header file (Interface) contains declarations of classes, protocols, and categories. It defines the methods that a class will implement but does not contain their implementation. The implementation file (Implementation) contains the method definitions, including their bodies, for the class declared in the header file.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What are the different store migration options? When are they used? How do they work? What is mapping model?

1 Answers  


 Is a delegate retained?

1 Answers  


What are the ways to store data localy on iphone device?

1 Answers  


Functionality of accelerometer of an iphone

1 Answers  


What is @synthesize?

1 Answers  


What are layer objects in iOS operating system?

1 Answers   SwanSoft Technologies,


How to parse xml?

1 Answers  


Explain what is garbage collection?

1 Answers  


What is 1x 2x?

1 Answers  


Which devices will this work with ios?

1 Answers  


What is arc xcode?

1 Answers  


How core data differs from sqlite?

1 Answers  


Categories