The Object-Oriented Thought Process

Some languages, such as C++, use only abstract classes to implement contracts. ... Thus, to implement a contract in Objective-C, you need to use a protocol, ...
展开查看详情