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

Improve ImageManager #50

Merged
merged 2 commits into from Jun 27, 2017
Merged

Improve ImageManager #50

merged 2 commits into from Jun 27, 2017

Conversation

zenangst
Copy link
Contributor

@zenangst zenangst commented Jun 27, 2017

Updates the README to include the ImageManager.

Change at to from in the signature.
The URL and completion are no longer optional.

From:

func fetchImage(at url: URL?, useCache: Bool = true, completion: Completion?)

To:

func fetchImage(from url: URL, useCache: Bool = true, completion: @escaping Completion)

Change `at` to `from` in the signature.
The URL and completion are no longer optional.

From:
```
fetchImage(at url: URL?, useCache: Bool = true, completion: Completion?)
```

To:

```
func fetchImage(from url: URL, useCache: Bool = true, completion:
@escaping Completion)
```
@zenangst zenangst merged commit ce22a7f into master Jun 27, 2017
@zenangst zenangst deleted the improve/image-manager branch June 27, 2017 08:03
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

3 participants