Skip to content

Commit 76efa77

Browse files
committed
docs: Update README & CHANGELOG.
1 parent f8f647b commit 76efa77

File tree

5 files changed

+36
-11
lines changed

5 files changed

+36
-11
lines changed

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
# SVGAPlayer-iOS CHANGELOG (2019-10-15)
22

3-
## [2.5.0]()
3+
## [2.5.0](https://github.com/yyued/SVGAPlayer-iOS/tree/2.5.0-release)(2019-10-15)
4+
5+
### Features
6+
7+
* Add Support for matte layer and dynamic matte bitmap.
8+
* Add Support for audio step to frame & percentage.
49

510
## [2.3.5](https://github.com/yyued/SVGAPlayer-iOS/compare/2.3.4...2.3.5) (2019-09-29)
611

712
### Bug Fixes
813

914
* Let clearsAfterStop defaults too YES. ([4932be5](https://github.com/yyued/SVGAPlayer-iOS/commit/4932be5))
1015
* Add support for audio play in stepToFrame. ([873f8e4](https://github.com/yyued/SVGAPlayer-iOS/commit/873f8e4))
11-
* Correct mp3 file match in proto image. ([eb45964](https://github.com/yyued/SVGAPlayer-iOS/commit/eb45964))
12-
* Correct ZIP file match when parse. ([f3e204f](https://github.com/yyued/SVGAPlayer-iOS/commit/f3e204f))
16+
* Correct mp3 file match in proto image for iOS13. ([eb45964](https://github.com/yyued/SVGAPlayer-iOS/commit/eb45964))
17+
* Correct ZIP file match when parse for iOS13. ([f3e204f](https://github.com/yyued/SVGAPlayer-iOS/commit/f3e204f))
1318

1419
## [2.3.4](https://github.com/yyued/SVGAPlayer-iOS/compare/2.3.3...2.3.4) (2019-08-02)
1520

Binary file not shown.

SVGAPlayer/ViewController.m

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,21 +51,27 @@ - (IBAction)onChange:(id)sender {
5151
@"https://github.com/yyued/SVGA-Samples/blob/master/rose.svga?raw=true",
5252
];
5353
[UIApplication sharedApplication].networkActivityIndicatorVisible = YES;
54-
[parser parseWithURL:[NSURL URLWithString:items[arc4random() % items.count]]
55-
completionBlock:^(SVGAVideoEntity * _Nullable videoItem) {
56-
[UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
57-
if (videoItem != nil) {
58-
self.aPlayer.videoItem = videoItem;
59-
[self.aPlayer startAnimation];
60-
}
61-
} failureBlock:nil];
54+
// [parser parseWithURL:[NSURL URLWithString:items[arc4random() % items.count]]
55+
// completionBlock:^(SVGAVideoEntity * _Nullable videoItem) {
56+
// [UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
57+
// if (videoItem != nil) {
58+
// self.aPlayer.videoItem = videoItem;
59+
// [self.aPlayer startAnimation];
60+
// }
61+
// } failureBlock:nil];
62+
6263
// [parser parseWithURL:[NSURL URLWithString:@"https://github.com/svga/SVGA-Samples/raw/master_aep/BitmapColorArea1.svga"] completionBlock:^(SVGAVideoEntity * _Nullable videoItem) {
6364
// if (videoItem != nil) {
6465
// self.aPlayer.videoItem = videoItem;
6566
// [self.aPlayer setImageWithURL:[NSURL URLWithString: @"https://i.imgur.com/vd4GuUh.png"] forKey:@"matte_EEKdlEml.matte"];
6667
// [self.aPlayer startAnimation];
6768
// }
6869
// } failureBlock:nil];
70+
71+
[parser parseWithNamed:@"heartbeat" inBundle:nil completionBlock:^(SVGAVideoEntity * _Nonnull videoItem) {
72+
self.aPlayer.videoItem = videoItem;
73+
[self.aPlayer startAnimation];
74+
} failureBlock:nil];
6975
}
7076

7177
- (IBAction)onSliderClick:(UISlider *)sender {

readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
[简体中文](./readme.zh.md)
44

5+
## 2.5.0 Released
6+
7+
This version add Support for matte layer and dynamic matte bitmap.
8+
Head on over to [Dynamic · Matte Layer](https://github.com/yyued/SVGAPlayer-iOS/wiki/Dynamic-%C2%B7-Matte-Layer)
9+
10+
This version add Support for audio step to frame & percentage.
11+
512
## 2.3.5 Released
613

714
This version fixed SVGAPlayer `clearsAfterStop defaults too YES`, Please check your player when it doesn't need to be cleared.

readme.zh.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# SVGAPlayer
22

3+
## 2.5.0 版本
4+
5+
该版本增加了对遮罩图层和遮罩图片动态替换的支持。
6+
请参阅此处 [Dynamic · Matte Layer](https://github.com/yyued/SVGAPlayer-iOS/wiki/Dynamic-%C2%B7-Matte-Layer)
7+
8+
该版本增加了对音频进度切换的支持。
9+
310
## 2.3.5 版本
411

512
该版本修正了 SVGAPlayer `clearsAfterStop 默认值为 YES`,请检查代码,修正不需要 clear 的 SVGAPlayer。

0 commit comments

Comments
 (0)