kronik / dkliveblur Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
As the user scroll down, it will be blur.
Seems a little ironic.. :)
This would be great if it had a cocoa pod.
Hi,
the DKLiveBlurView.h file from LiveBlur/DKLiveBlur and the one used in the demo project are not in sync. There is a scrollView property in the demo project which is not available on the "official fmk header".
I was able to work with the fmk from the demo project not with the other one and so integration with cocoapods is not possible.
The best approch would be that the demo project reference the fmk files from the LiveBlur/DKLiveBlur folder.
Thanks
Here is my code:
self.navigationController.navigationBar.translucent = YES;
tableMainForecast = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.view.bounds), CGRectGetHeight(self.view.bounds)) style:UITableViewStylePlain];
[self.view addSubview:tableMainForecast];
tableMainForecast.separatorStyle = UITableViewCellSeparatorStyleNone;
tableMainForecast.dataSource = self;
tableMainForecast.delegate = self;
tableMainForecast.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
tableMainForecast.separatorColor = [UIColor clearColor];
tableMainForecast.backgroundColor = [UIColor clearColor];
DKLiveBlurView *backgroundView = [[DKLiveBlurView alloc] initWithFrame: self.view.bounds];
backgroundView.originalImage = [UIImage imageNamed:@"bg1.jpg"];
backgroundView.tableView = tableMainForecast;
backgroundView.isGlassEffectOn = YES;
tableMainForecast.backgroundView = backgroundView;
How can i solve?
I got an EXC_BAD_ACCESS
while trying to assign an image to originalImage property.
The scroll bar goes behind the Navigation Bar...
Getting ARC error messages when trying to run this with deployment target info updated to 7.x. I'm really new to this stuff, what approach should I take to try and resolve this?
I have a custom cell...everything works good except the scrollview inside the cell...it doesn't scroll.
I tried the build code inside another project (original UITableView) and it scrolls like a charm.
How can i solve?
Hi,
How can I use DKLiveBlur with UIScrollViews?
I've downloaded it from Cocoapods and I'm using it:
- (void)viewDidLoad
{
[super viewDidLoad];
[self buildUI]; //Here I insert graphical elements into UIScrollView - inserted in the UIView via xib
DKLiveBlurView *backgroundView = [[DKLiveBlurView alloc] initWithFrame:self.scrollView.frame];
backgroundView.originalImage = [UIImage imageNamed:@"Mountain Range.jpg"];
backgroundView.contentMode = UIViewContentModeScaleAspectFill;
backgroundView.tableView = self.scrollView;
backgroundView.isGlassEffectOn = YES;
// Do any additional setup after loading the view from its nib.
}
The view opens without the image I've set, and when I try to scroll down the view, an EXC_BAD_ACCESS is thrown.
Where I'm wrong?
Ty
Nicola
(ps: excellent library!)
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.