I’ve mentioned a number of animation libraries, including the Spring library yesterday which supplies many pre-built animations that can be implemented in storyboards or in code.
Here’s an open source library from Vito Zhang called VICMAImageView that allows you to animate changes to an image view content mode.
With VICMAImageView you simply need to create your image view using the VICMAImageView class, and you can then animate content mode changes just like any other UIView animations.
This code snippet from the reamde shows how to animate a content mode change with VICMAImageView:
imageView.contentMode = UIViewContentModeScaleAspectFill;
You can find VICMAImageView on Github here.
A nice way to visualize image aspect mode changes.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.