[self class]和[super class]带来的思考

前言 class是很多人经常使用的方法,而【self class】和【super class】的区别也在面试中经常使用到。如下所述: #import "Person.h" @interface Man : Person @end #import "Man.h" @implementation Man - (instancetype)init { self = [super ini
相关文章
相关标签/搜索