Latest 1.0.2
Homepage https://github.com/mikaoj/BSImageView
License MIT
Platforms ios 8.0
Authors

BSImageView is an image view which lets you animate contentMode changes.

demo

Usage

import BSImageView
...

let imageView: BSImageView = ...
...

UIView.animate(withDuration: 0.3) {
    imageView.contentMode = .scaleAspectFill // Or whichever contentMode you want to animate to.
}

Author

Joakim Gyllström, [email protected]

License

BSImageView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "BSImageView",
    "version": "1.0.2",
    "summary": "An image view which lets you animate changes to content mode",
    "description": "An image view which, unlike UIImageView, lets you animate chnages to its content mode.",
    "homepage": "https://github.com/mikaoj/BSImageView",
    "license": "MIT",
    "authors": {
        "Joakim Gyllstru00f6m": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.2",
    "source": {
        "git": "https://github.com/mikaoj/BSImageView.git",
        "tag": "1.0.2"
    },
    "source_files": "Source/**/*.swift"
}

Pin It on Pinterest

Share This