Showing posts with label subclass. Show all posts
Showing posts with label subclass. Show all posts

Tuesday, February 12, 2013

Categories vs SubClass

Prefer Categories for adding functionality to an existing class and also want to affect the behaviour of All instances
whereas SubClassing is better option for customization and if benaviour of only certain instance needs to change and retain the original method for others.