Design Element
Comment on "Mike Lee on Cocoa"
by Blain — Nov 09
This is Sparta, er, Cocoa. We need not fiddly subclasses of subclasses, when this calls more for protocols.

Make an <NSCollection> protocol, like <NSCopying>, and apply as necessary. That way, someone making a new group container class can join without having to subclass.
Back to "Mike Lee on Cocoa"
Design Element

Copyright © Scott Stevenson 2004-2015