类扩展&实现

@interface LYTopic()
{
/* 类扩展
1、可以增加属性
2、可以增加成员变量
*/
CGRect _cellHeight;
CGRect _pictureF;
 }
@end
@implementation LYTopic
// 实现里面只能写成员变量,不能增加属性
- (void)xxx { 
}
- (void)yyy { 
}
- (void)zzz {
}
@end

你可能感兴趣的:(类扩展&实现)