exyte / Macaw

Powerful and easy-to-use vector graphics Swift library with SVG support
MIT License
6.01k stars 553 forks source link

Fixed retain cycles between MacawView and MacawZoom #716

Closed devpolant closed 4 years ago

devpolant commented 4 years ago

Updates

In this pull request I fixed 2 issues:

zoom.initialize(onChange: { [weak self] transform in
    self?.onZoomChange(t: transform)
})
ystrot commented 4 years ago

Looks good for me. @f3dm76 could you please review this PR as well?