29,027
社区成员
发帖
与我相关
我的任务
分享
@interface WeiboView : UIView <RTLabelDelegate>
{
@private
RTLabel *_textLabel; //微博内容
UIImageView *_image; //微博图片
UIImageView *_repostBackgroundView; //转发的微博的背影图片
WeiboView *_repostView; //转发的微博视图
NSMutableString *_parseText; //格式化HTML后的字符
}
- (id)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
[self _initView];//这里对上面的几个谜题进行初始化
}
return self;
}
- (void)dealloc
{
[_textLabel release];
[_image release];
[_repostBackgroundView release];
[_parseText release];
[super dealloc]; //程序在这里报EXC_BAD_ACCESS错误,然后我把上面的4句代码注释掉的话就不会报了
}