codafi / cfifrostedoverlayview Goto Github PK
View Code? Open in Web Editor NEW[Broken] A view that renders its superview with a gaussian blur.
License: MIT License
[Broken] A view that renders its superview with a gaussian blur.
License: MIT License
Control should be nearly identical, though NSView might not want any part in this
There's a reason Control Center acts like Notification Center (i.e. freezing the screen), but I still want a "live" updating view without all the image nonsense.
Hello, great control, can't wait til I can get it figured out. I built the demo project for the simulator and it works fine. I went ahead and added the project files to a custom project, and when I try to add the blur on my view I just get a white rectangle.
I'm wondering if it's because I'm not giving it enough time to render before displaying it. Your sample code in the ReadMe has the view being added to the superview before the viewToBlur property gets set. However, you also say this:
"Because of the way that this control renders its superview, you must provide it an offset if you choose to not have the control take up the entirety of its superview, and guarantee that it is not onscreen when its superview is being rendered."
Should I instead be changing the viewToBlur property before I add to the superview? I also wonder if I should be rendering the frosted view as early as possible, because right now I do it instantly on a button touch. (I have a scroll view with a changing background that would affect the actual image that gets overlaid...no way to know the content offset inside the scrollview until the user touches the button)
git clone https://github.com/CodaFi/CFIFrostedOverlayView --recursive
Then build:
~/Desktop/CFIFrostedOverlayView/CFIFrostedOverlayView/CFIFrostedOverlayView.m:12:9: fatal error: 'GPUImage.h' file not found
Hi,
There is no license for the project. Could I suggest MIT?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.