Commit 8e6d311 Lasha Efremidze
committed
1 parent b31341f commit 8e6d311 Copy full SHA for 8e6d311
File tree 6 files changed +15
-2
lines changed
6 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'Animoji'
3
- s . version = '0.0.5 '
3
+ s . version = '0.0.6 '
4
4
s . summary = 'Animoji'
5
5
s . homepage = 'https://github.com/efremidze/Animoji'
6
6
s . license = { :type => 'MIT' , :file => 'LICENSE' }
Original file line number Diff line number Diff line change 1
1
# Change log
2
2
3
+ ## [ Version 0.0.6] ( https://github.com/efremidze/Animoji/releases/tag/0.0.6 )
4
+ Released on 2017-03-14
5
+
6
+ - Added Snapshot Support
7
+
3
8
## [ Version 0.0.5] ( https://github.com/efremidze/Animoji/releases/tag/0.0.5 )
4
9
Released on 2017-02-08
5
10
Original file line number Diff line number Diff line change 26
26
- (void )startRecording ;
27
27
- (void )stopPreviewing ;
28
28
- (void )stopRecording ;
29
+ - (UIImage*)snapshotWithSize : (CGSize )size ;
29
30
30
31
@end
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ - (AVTPuppetView *)puppetView
51
51
if (!_puppetView) {
52
52
_puppetView = [[NSClassFromString (@" AVTPuppetView" ) alloc ] initWithFrame: self .bounds];
53
53
_puppetView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
54
+ _puppetView.backgroundColor = UIColor.whiteColor ;
54
55
[self addSubview: _puppetView];
55
56
}
56
57
return _puppetView;
@@ -148,4 +149,9 @@ - (void)stopPreviewing
148
149
[self .puppetView stopPreviewing ];
149
150
}
150
151
152
+ - (UIImage*)snapshotWithSize : (CGSize )size
153
+ {
154
+ return [self .puppetView snapshotWithSize: size];
155
+ }
156
+
151
157
@end
Original file line number Diff line number Diff line change 269
269
- (void )startRecording ;
270
270
- (void )stopPreviewing ;
271
271
- (void )stopRecording ;
272
+ - (UIImage*)snapshotWithSize : (CGSize )arg1 ;
272
273
@end
Original file line number Diff line number Diff line change 15
15
<key >CFBundlePackageType </key >
16
16
<string >FMWK </string >
17
17
<key >CFBundleShortVersionString </key >
18
- <string >0.0.5 </string >
18
+ <string >0.0.6 </string >
19
19
<key >CFBundleVersion </key >
20
20
<string >$(CURRENT_PROJECT_VERSION) </string >
21
21
<key >NSPrincipalClass </key >
You can’t perform that action at this time.
0 commit comments