if view.superview != nil { view.removeFromSuperview() }
chenyunguiMilook opened this issue · 4 comments
chenyunguiMilook commented
UIKit-cross-platform/Sources/UIView.swift
Line 211 in 0e44ce4
should be if view.superview != nil { view.removeFromSuperview() } ?
ephemer commented
Thanks that looks correct. Could you make a pull request for this and add a test?
chenyunguiMilook commented
No problem!
ephemer commented
Thanks, @chenyunguiMilook!
michaelknoch commented
closing this because 196ab11 was merged. Thanks @chenyunguiMilook