Composite Components Edit on GitHub
CKComponent directly. Instead, subclass
A “composite component” simply wraps another component, hiding its implementation details from the outside world.
For example, imagine you’re implementing a button to share an article in a newsreader app. You could implement
ShareButtonComponent as a composite component that wraps a
Never Subclass Components contains more information about why you should favor subclassing
CKCompositeComponent whenever posible.