我的第一篇markdown
- 1添加无序列表
- 2无序列表添加成功
- 添加有序列表
- 1 添加有序列表
- 四大
第一次引用
markdown
编写公具
不知道是不是这么玩的
这是粗体
这是斜体
`
这是一段代码测试用例
- (id)initWithPoint:(CGPoint)point{
self = [super init];
if (self) {
self.frame = CGRectMake(point.x, point.y, 96, 15);
float between = 7;
float width = 14;
for (NSUInteger i = 0; i < 5; i ++) {
UIButton *star = [UIButton buttonWithType:UIButtonTypeCustom];
star.frame = CGRectMake(0 + i * (width + between) , 0, width, width);
[star setNormalImageStateWithName:@"star"];
star.selected = YES;
star.tag = i;
[star addTarget:self action:@selector(palyGrade:) forControlEvents:UIControlEventTouchUpInside];
[self addSubview:star];
}
}
return self;
}
- (void)palyGrade:(UIButton *)sender{
for (UIButton *btn in self.subviews) {
if (btn.tag <= sender.tag) {
btn.selected = YES;
}else{
btn.selected = NO;
}
}
if (self.starGrade) {
self.starGrade(sender.tag + 1);
}
}
`
![我的图片](/Users/Administrator/Desktop/产品需求文档/产品需求文档/v2.4/V2.4.3/03 UI设计图/APP/评论/标注/长按复制订单编号.png)