template-method

What is the natural way to express C++ "protected virtual" idiom in Objective-C?

Hello, In C++ there is a template method idiom when base class implements all its algorithms but factors out some tiny little differences (usually having to deal with data formats, etc) for subclasses to implement in the form of protected virtual methods that are not accessible to hierarchy clients. What is the most natural way to exp...