Skip to content
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

Turn on/off blur background #136

Merged
merged 3 commits into from Jun 17, 2019
Merged

Turn on/off blur background #136

merged 3 commits into from Jun 17, 2019

Conversation

maxxfrazer
Copy link
Contributor

  • Added showBlurBackground Bool for hiding the blur background

I love your spinner, but wanted something to be over the camera feed showing that something is processing, but allowing the user to still scan the area they're in.
My code changes are on L:143 and L:175

Xcode has automatically trimmed trailing whitespaces; if you don't like this I can add them back!

Let me know what you think, as there could be a good reason that you don't want users to be able to hide the background.

Cheers,
Max

/// Custom container for the spinner
public class func useContainerView(_ sv: UIView?) {
customSuperview = sv
}


public static var showBlurBackground: Bool = true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please add the inline documentation comments?

@andreamazz
Copy link
Collaborator

Hey @maxxfrazer
Thanks, looks good, one nit: can you add documentation to the new property?

@andreamazz
Copy link
Collaborator

Great, thanks!

@andreamazz andreamazz merged commit 3e34d7b into icanzilb:master Jun 17, 2019
@maxxfrazer
Copy link
Contributor Author

👍 Good point; just added and also mentioned the change near the bottom of the README

  • Wow, you've already seen that and merged, cheers @andreamazz!

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.

None yet

2 participants