I am looking for a nice reading for students about using delegates instead of inheritance.
By “delegates,” I mean instead of having an abstract class where subclasses fill in the blanks to customize a process, instead the superclass accepts an interface/protocol that a delegate object implements (à la UIKit).
Just the basics. Simple is good.
Anyone know of, say, a blog post or chapter from a book that covers this nicely?
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.