- 博客(41)
- 收藏
- 关注
原创 iOS基础类及@property属性
一、instancetype与id instancetype只用于返回当前类对象,若接收的对象不是当前类时,编译器会报警告(Incompatible pointer types initializing 'NSString *' with an expression of type 'JZPerson *')例如:NSString* person = [JZPerson person]。而且类...
2018-09-09 22:59:52
635
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人