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

Fix broken headings in Markdown files #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Blurable
###Apply a Gaussian Blur to any UIView with Swift Protocol Extensions
### Apply a Gaussian Blur to any UIView with Swift Protocol Extensions

##### _Adds `blur()` and `unBlur()` methods to `UIView` components which applies a Core Image Gaussian blur filter to the contents._

######_Companion project to this blog post: http://flexmonkey.blogspot.co.uk/2015/09/applying-gaussian-blur-to-uiviews-with.html_
###### _Companion project to this blog post: http://flexmonkey.blogspot.co.uk/2015/09/applying-gaussian-blur-to-uiviews-with.html_

![screengrab](/FMBlurable/assets/screenshot.jpg)

Expand Down Expand Up @@ -46,7 +46,7 @@ Obviously, just being a protocol, it doesn't do much on its own. However, by add
1. Download and drop ```FMBlurable.swift``` in your project.
2. Congratulations!

##The Mechanics of Blurable
## The Mechanics of Blurable

Getting a blurred representation of a `UIView` is pretty simple: I need to begin an image context, use the view's layer's renderInContext method to render into the context and then get a UIImage from the context:

Expand Down Expand Up @@ -171,7 +171,7 @@ Finally, to see if a `UIView` is currently blurred, I created `isBlurred()` whic
}
```

##Blurring a UIView
## Blurring a UIView

To blur and de-blur, just invoke `blur()` and `unBlur()` on an UIView:

Expand All @@ -180,6 +180,6 @@ To blur and de-blur, just invoke `blur()` and `unBlur()` on an UIView:
segmentedControl.blur(blurRadius: 2)
```

##Source Code
## Source Code

As always, the source code for this project is available at my GitHub repository here. Enjoy!