Skip to content

Commit

Permalink
[Readme] Fixes typo in code example
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVitale committed Nov 15, 2016
1 parent fbbb02d commit 05cf451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ FrameSearchProvider<Frinkiac> { frameImages in
// Updates `caption` (and downloads image data) by
// invoking the `closure` being passed back.
frameImage.caption { closure in
let image = try? closure()
let image = try? closure().image
Dispatch.main.async {
/* Do something with `image` in the UI */
}
Expand Down

0 comments on commit 05cf451

Please sign in to comment.