Nuke 7.0-rc1
Pre-release
Pre-release
This is the final pre-release version. The only thing left to do is finish updating the documentation.
Changes in 7.0-rc1:
Loading Images into Views
- Add more
ImageLoadingOptions
includingfailureImage
,contentModes
and custom transitions. ImageView
will now automatically prepare itself for reuse (can be disabled viaImageLoadingOptions
).- Add
ImageDisplaying
protocol and relax the requirement what can be used as an image view (it'sUIView & ImageDisplaying
now). This achieves two things: 1) you can now add support for more classes (e.g.MKAnnotationView
) by implementingImageDisplaying
protocol, 2) you can override thedisplay(image:
method inUIImageView
subclasses (e.g.FLAnimatedImageView
).
Image Processing
- Update new
ImageProcessing
protocol to add additionalImageProcessingContext
parameter. This enabled features like_ProgressiveBlurImageProcessor
which blurs only first few scans of the progressive image with each new scan having reduced blur radius (see Progressive JPEG Demo).
Animated Images
- Add built-in support for animated images (everything expect the actual rendering). To enable rendering you're still going to need a library (see FLAnimatedImage and Gifu plugins). The changes made in Nuke dramatically simplify those plugins making both of them essentially obsolete (they both now have 10-30 lines of code).
Misc
- Simplify
ImagePipeline
closure-based API. RemoveprogressiveImageHandler
, pass partial images into existingprogress
closure. - Improve test coverage of new features.