Skip to content

Fix incorrectly assigning an NSNumber to blurEffect which resulted in a crash on -layoutSubviews #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 4, 2016

Conversation

karolkozub
Copy link
Contributor

-[BlurAmount updateBlurAmount:] returns its argument (an NSNumber) as the result. Assigning that to blurEffect causes a crash in -[BlurView layoutSubviews] when the value is used. This change prevents that crash from happening.

@breadadams
Copy link
Contributor

You wizard - this fixes #107

@JonathanWi
Copy link

Perfect, thanks @karolkozub @breadadams, waiting for the merge then!

@breadadams
Copy link
Contributor

Yup, I've manually updated in my local project for now.

@srsholmes
Copy link

👍

1 similar comment
@michael-ar
Copy link

👍

@Kureev Kureev merged commit a61011b into Kureev:master Nov 4, 2016
@Kureev
Copy link
Owner

Kureev commented Nov 4, 2016

Thank you a lot! ❤️

@Kureev
Copy link
Owner

Kureev commented Nov 4, 2016

Released 1.1.2 with this patch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants