Fix retain cycle for the textRoot property.

This commit is contained in:
Nikolay Demyankov
2018-03-14 15:31:02 +01:00
parent 26964598fc
commit ef8b687ff0
5 changed files with 45 additions and 44 deletions
+1 -1
View File
@@ -38,10 +38,10 @@ extern CGFloat const RNSVG_DEFAULT_FONT_SIZE;
* RNSVGSvgView which ownes current RNSVGNode
*/
@property (nonatomic, readonly, weak) RNSVGSvgView *svgView;
@property (nonatomic, readonly, weak) RNSVGGroup *textRoot;
- (void)invalidate;
- (RNSVGGroup *)getTextRoot;
- (RNSVGGroup *)getParentTextRoot;
- (void)renderTo:(CGContextRef)context;