What are the differences between categories and extensions?



What are the differences between categories and extensions?..

Answer / maanya

Categories: Allows you to add methods on existing classes. 
Extensions: Allows you to increase the functionality (extend) of an existing class without using subclasses

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

What is dependency management?

0 Answers  


How to access the spotlight search feature now?

0 Answers  


Define 'copy' keyword?

0 Answers  


How we can do multithreading in ios?

0 Answers  


Is it safe to update to ios 13?

0 Answers  






What is synchronous web request and asynchronous ?

0 Answers  


How to download xcode for iphone development?

0 Answers  


What are the skills required for ios developer?

0 Answers  


Explain shallow copying and depth copying.

1 Answers  


How do you setup/initialise a core data stack in your application?

0 Answers  


Tell me what is fast enumeration?

0 Answers  


Explain the usage of struct?

0 Answers  


Categories