- 参照样式
-(NSString *)description
{
NSString *blockContent_intr = _blockContent;
if(blockContent_intr.length>200){
blockContent_intr = [_blockContent substringToIndex:200];
}
return [NSString stringWithFormat:@"<%@:%p,%@>",[self class],self,@{@"blockId":@(_blockId),
@"blockType":@(_blockType),
@"blockIndex":@(_blockIndex),
@"blockStyle":_blockStyle,
@"blockContent":blockContent_intr,
@"imgPath":_imgPath,
@"blockHeight":@(_blockHeight),
@"storyId":@(_storyId)
}];
}
- 规范格式