Home > DeveloperSection > Interviews > Why category is better than inheritance?

Posted on    September-26-2015 12:09 AM

 iPhone iPhone  Ios  Objective C 
Ratings:
 1 Answer(s)
  451  View(s)
Rate this:

Tarun Kumar

Total Post:107

Points:535
Posted on    September-26-2015 12:09 AM

If you are using category then no need to create a new class, you can use same class to add functionality using category, to do some thing in our own application, category is the easiest way to use, and using inheritance we can't do all these things.

Don't want to miss updates? Please click the below button!

Follow MindStick