Theocacao
Leopard
Design Element
Comment on "What Do People Find Challenging About Cocoa?"
by Joshua Pennington — May 16
@Jerry - It's an example of object composition vs. inheritance. Subclassing requires in many situations a more intimate knowledge of a class's implementation. Therefore, it can break encapsulation.
Back to "What Do People Find Challenging About Cocoa?"
Design Element

Copyright © Scott Stevenson 2004-2015