7 ms·
> aka for the rest of the world not using swiftUI Fun fact: Apple doesn't let us use CAFilter in SwiftUI. It's a "them" privilege, and if we want it we need to
by internetter 3y ago
> aka for the rest of the world not using swiftUI
Fun fact: Apple doesn't let us use CAFilter in SwiftUI. It's a "them" privilege, and if we want it we need to do it ourselves*, just like you
* or obfuscate the code and continue in the great game of cat and mouse: https://github.com/aheze/VariableBlurView/blob/main/Sources/VariableBlurView.swift#L73-L112 https://github.com/aheze/VariableBlurView/blob/main/Sources/...
- devslovecoffee 3y agoWow, didn’t even know that. Guess I’ll update the post with this “fun” fact
- ivanjermakov 3y agoWalled garden (with barbed wire)
- internetter 3y agoWhile it’s not great to provide a UI library but not give developers all of the UI components, theoretically you could implement this yourself — so it’s the least of your concerns: https://boehs.org/node/private-apis https://boehs.org/node/private-apis