Sunday, October 11, 2009

iPhone dev Stupidity 44: Call virtual function in Ctor

Yes, you can do this in Objective-C - even if the func to override is private.

Some interesting pattern for Ctor - like template method. Defer some specific task to subclass and do the general routine ones in parent.

No comments: