Skip to content

Commit 66a7573

Browse files
committed
Update README.md
1 parent 53f8f3a commit 66a7573

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

Demo/SJAttributesFactory/ViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
190190

191191

192192
make.append(@"Hello").font([UIFont systemFontOfSize:14]).textColor([UIColor yellowColor]);
193-
make.append([UIImage imageNamed:@"sample2"], CGPointZero, CGSizeZero).font([UIFont systemFontOfSize:12]).textColor([UIColor redColor]);
193+
make.append([UIImage imageNamed:@"sample2"], CGPointZero, CGSizeZero);
194194

195195
[self updateConstraintsWithSize:make.sizeByWidth(self.view.bounds.size.width - 80)];
196196
});

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- 添加了一个[append]方法. [4/10/2018]
55
```Objective-C
66
make.append(@"Hello").font([UIFont systemFontOfSize:14]).textColor([UIColor yellowColor]);
7-
make.append([UIImage imageNamed:@"sample2"], CGPointZero, CGSizeZero).font([UIFont systemFontOfSize:12]).textColor([UIColor redColor]);
7+
make.append([UIImage imageNamed:@"sample2"], CGPointZero, CGSizeZero);
88
```
99
- 修复[插入/替换/删除]时RangeOperator未调整的问题, 增加了几个正则相关方法. [4/9/2018]
1010
- 优化`endTask`方法. 当调用 endTask , 只有记录员的属性发生改变时, 才会重新赋值. [4/4/2018]

SJAttributesFactory/SJAttributeWorker.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ typedef NS_ENUM(NSUInteger, SJAttributeRegexpInsertPosition) {
173173
append text.
174174
175175
make.append(@"Hello").font([UIFont systemFontOfSize:14]).textColor([UIColor yellowColor]);
176-
make.append([UIImage imageNamed:@"sample2"], CGPointZero, CGSizeZero).font([UIFont systemFontOfSize:12]).textColor([UIColor redColor]);
176+
make.append([UIImage imageNamed:@"sample2"], CGPointZero, CGSizeZero);
177177
*/
178178
@property (nonatomic, copy, readonly) SJAttributesRangeOperator *(^append)(id strOrImg, ...);
179179

0 commit comments

Comments
 (0)