I am implementing view controllers that shall have different behaviour. They have a common base class, which we will call "SuperClass".
In SuperClass there is a meth开发者_开发百科od A which sends a message to method B. Let's say i create a SubClass and overwrite B.
If i now create an instance of SubClass and call A, will A call B from SuperClass or from SubClass?
B from SubClass
精彩评论