Update image-modification-block.md

This commit is contained in:
Hannah Troisi
2016-07-16 21:55:35 -07:00
committed by GitHub
parent c7382e34d5
commit 2f5c11abdb

View File

@@ -6,7 +6,9 @@ prevPage: implicit-hierarchy-mgmt.html
nextPage: placeholder-fade-duration.html
---
Many times, operations that would affect the appearance of an image you're displaying are big sources of main thread work. Naturally, you want to move these to a background thread. By assigning an `imageModificationBlock` to your imageNode, you can define a set of transformations that need to happen asynchronously to any image that gets set on the imageNode.
Many times, operations that would affect the appearance of an image you're displaying are big sources of main thread work. Naturally, you want to move these to a background thread.
By assigning an `imageModificationBlock` to your imageNode, you can define a set of transformations that need to happen asynchronously to any image that gets set on the imageNode.
<div class = "highlight-group">
<span class="language-toggle"><a data-lang="swift" class="swiftButton">Swift</a><a data-lang="objective-c" class = "active objcButton">Objective-C</a></span>