flowkey/UIKit-cross-platform

Cleanup UIView convert functions

michaelknoch opened this issue · 0 comments

UIView.convert(to: UIView) is a pretty complex function (especially when matrix transformations are considered), so there is quite a bit of code in UIView.swift relating to this.

It'd be great to put most of the internals into their own file (e.g. UIView+convert.swift) and keep their implementations private to that file.