SwiftUIBlurView
SwiftUIBlurView copied to clipboard
Make it possible to add subviews to `BlurView`
BlurView currently creates and embeds a UIKit view, to which the blur effect is applied, but it doesn't allow you to add subviews to it. This means that you have to use ZStacks to build a set of layers. Maybe subviews would simplify things?
What about changing the repo/package name to simply 'BlurView' if I implement this issue? SwiftUI prefix somehow bugs me :D
Hahaha, I find it convenient to have all SwiftUI related imports together, e.g.
import SwiftUI
import SwiftUIBlurView
BlurView could be anything :D
Fair point:) Too bad there's nothing like module extension;)