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 the difference between strong and retain.

0 Answers  


Explain the significance of autorelease?

0 Answers  


Explain your process for tracing and fixing a memory leak

0 Answers  


What is atomic and nonatomic in iOS operating system? What is run loop in iOS ?

0 Answers   CDC,


What is a weak var?

0 Answers  






How to start a thread?

0 Answers  


What is ipad screen size?

0 Answers  


What is view object in iOS operating system?

0 Answers   B-Ways TecnoSoft,


Define content offset?

0 Answers  


What ios version onwards arc can be used?

0 Answers  


What is push notification?

0 Answers  


What is difference between 'protocol' and 'delegate'?

0 Answers  


Categories