The difference between
Load: called before main + initialize: objc_MSG_send () called after mainCopy the code
Create 4 new classes Person (parent), Student (subclass), Student (loadTest), Student (loadTest2)
load
Person ->Student-> Student +loadTest = Student +loadTest2
The load method is not overriddenCopy the code
initialize
The initialize method of the class overrides the initialize method of the class. A relation is a parent -> child -> classification. When the initialize method is not implemented for a class, parent -> child. When classes implement the Initialize method, classes -> children. The parent class is called multiple times when a subclass does not implement Initialize.Copy the code