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

Posted on    November-18-2015 5:03 AM

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

Tarun Kumar

Total Post:107

Posted on    November-18-2015 6:03 AM

If category is used, you can use same class, no need to remember a new class-name.
Category created on a base class is available on sub classes.

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

Follow MindStick