Full Stack Developer
Full Stack Developer
 
I'm trying to change color of shape using following code: @discardableResult public func replaceColors(node: Node, color: Fill?) -> Bool { if let shape = node as? Shape { shape.fill =...
class NodeRenderer { weak var view: MView? fileprivate let onNodeChange: () -> Void fileprivate let disposables = GroupDisposable() fileprivate var active = false weak var animationCache: AnimationCache? init(node: Node, view:...
I'm using this framework to show SVG file and changing color of Shape. Btw filling color is slow. It takes 1 second for changing color of shape. shape.fill = Color.white...
class NodeRenderer { weak var view: MView? fileprivate let onNodeChange: () -> Void fileprivate let disposables = GroupDisposable() fileprivate var active = false weak var animationCache: AnimationCache? init(node: Node, view:...
I'm trying to change color of shape using following code: @discardableResult public func replaceColors(node: Node, color: Fill?) -> Bool { if let shape = node as? Shape { shape.fill =...