Skip to content

Commit

Permalink
Updated to version 1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklockwood committed Oct 14, 2013
1 parent ff3b5ef commit 2670ee1
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions FXBlurView.podspec
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Pod::Spec.new do |s|
s.name = 'FXBlurView'
s.version = '1.4.2'
s.version = '1.4.3'
s.license = 'zlib'
s.summary = 'UIView subclass that replicates the iOS 7 realtime background blur effect, but works on iOS 5 and above.'
s.author = { 'Nick Lockwood' => 'http://charcoaldesign.co.uk/' }
s.source = { :git => 'https://github.com/nicklockwood/FXBlurView.git', :tag => '1.4.2' }
s.source = { :git => 'https://github.com/nicklockwood/FXBlurView.git', :tag => '1.4.3' }
s.homepage = 'http://github.com/nicklockwood/FXBlurView'
s.platform = :ios
s.source_files = 'FXBlurView'
Expand Down
2 changes: 1 addition & 1 deletion FXBlurView/FXBlurView.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// FXBlurView.h
//
// Version 1.4.2
// Version 1.4.3
//
// Created by Nick Lockwood on 25/08/2013.
// Copyright (c) 2013 Charcoal Design
Expand Down
11 changes: 7 additions & 4 deletions FXBlurView/FXBlurView.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// FXBlurView.m
//
// Version 1.4.2
// Version 1.4.3
//
// Created by Nick Lockwood on 25/08/2013.
// Copyright (c) 2013 Charcoal Design
Expand Down Expand Up @@ -33,6 +33,7 @@

#import "FXBlurView.h"
#import <objc/runtime.h>
#import <objc/message.h>
#import <QuartzCore/QuartzCore.h>


Expand Down Expand Up @@ -208,7 +209,7 @@ - (void)removeView:(FXBlurView *)view
- (void)updateAsynchronously
{
if (self.blurEnabled && !self.updating && self.updatesEnabled > 0 && [self.views count])
{
{
//loop through until we find a view that's ready to be drawn
self.viewIndex = self.viewIndex % [self.views count];
for (NSUInteger i = self.viewIndex; i < [self.views count]; i++)
Expand Down Expand Up @@ -284,9 +285,11 @@ - (void)setUp
Method *methods = class_copyMethodList([UIView class], &numberOfMethods);
for (unsigned int i = 0; i < numberOfMethods; i++)
{
if (method_getName(methods[i]) == @selector(tintColor))
Method method = methods[i];
SEL selector = method_getName(method);
if (selector == @selector(tintColor))
{
_tintColor = super.tintColor;
_tintColor = ((id (*)(id,SEL))method_getImplementation(method))(self, selector);
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion LICENCE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FXBlurView

Version 1.4.2, October 4th, 2013
Version 1.4.3, October 14th, 2013

Copyright (C) 2013 Charcoal Design

Expand Down
4 changes: 4 additions & 0 deletions RELEASE NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 1.4.3

- Fixed error when compiling for iOS 6.1 SDK using Xcode 5

Version 1.4.2

- Fixed issue where shadow or ghosting could appear at edge of blur view
Expand Down

0 comments on commit 2670ee1

Please sign in to comment.