Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
Remove unused assets
  • Loading branch information
Eskils committed Dec 6, 2023
1 parent f11df54 commit 0757ab0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Documentation/iOSAppDemo2.png
Binary file not shown.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Framework for adding variable blur, or progressive blur, to images on iOS and Ma

![A hill with a horizontal variable blur from the leading edge to the middle](Documentation/GreenerOnTheOtherSide-HorizontalBlur-(0,20)-to-(50w,0).png)

> This image has a horizontal variable blur from the leading edge to the middle.
> Left image has a horizontal variable blur from the leading edge to the middle. Right image has a vertical variable blur from the top edge to the middle.
## Table of contents
* [Installation](#installation)
Expand Down Expand Up @@ -180,7 +180,7 @@ public func applyVariableBlur(
## Project Organization
This framework is written in Swift and Metal.

*VariableBlurImageView* is the primary framework.
*VariableBlurImageView* is the primary framework.
*GenerateTestImages* is a small executable used to produce images to test against.

The tests for VariableBlurImageView check if the current state of the code produce the same set of images as has previously been generated by `GenerateTestImages`.
Expand All @@ -196,7 +196,7 @@ When implementing a new blur type, new tests and generating methods need to be p
#### Supplying tests
Generally, at least two tests are written for each blur type — one to check if the images produced are as expected, and one to measure performance.

Checking similarity can be done with the `ìsEqual(inputImageName:expectedImageName:afterPerformingImageOperations:)`` method, like so:
Checking similarity can be done with the `ìsEqual(inputImageName:expectedImageName:afterPerformingImageOperations:)` method, like so:

```swift
func testVerticalVariableBlur() throws {
Expand Down

0 comments on commit 0757ab0

Please sign in to comment.