Latest 0.1.1
License MIT
Platforms ios 8.0

[![CI Status](Михаил Рахманов/RectangleDissolve.svg?style=flat)](Михаил Рахманов/RectangleDissolve)


Screen transition animator which decomposes the screen we are transitioning from into a group of rectangles which fade over time thus showing us the new controller.

Alt Text
Alt Text


To run the example project, clone the repo, and run pod install from the Example directory first.

let animator = RectangleDissolveAnimator()
viewController.transitioningDelegate = animator

There are also some parameters which can be adjusted:

animator.rectanglesVertical = 14 // this determines the height of the rectangle based on screen height
animator.rectanglesHorizontal = 8 // width of the rectangle based on screen width
animator.batchSize = 20 // the amount of rectangles which start fading at the same time
animator.fadeAnimationDuration = 0.3 // fade animation duration
animator.tempo = 1000 // the frequency of each batch start fading

Or this may also be done explicitly via configuration

let configuration = RectangleDissolveAnimatorConfiguration(rectanglesVertical: 14,
                                                           rectanglesHorizontal: 8,
                                                           batchSize: 20,
                                                           fadeAnimationDuration: 0.3,
                                                           tempo: 1000.0)
animator = RectangleDissolveAnimator(configuration: configuration)


RectangleDissolve is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'RectangleDissolve', '~> 0.1.1'


Михаил Рахманов, [email protected]


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

Latest podspec

    "name": "RectangleDissolve",
    "version": "0.1.1",
    "summary": "The transition animator which pixelates the view from which we are transitioning",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "u041cu0438u0445u0430u0438u043b u0420u0430u0445u043cu0430u043du043eu0432": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.1"
    "platforms": {
        "ios": "8.0"
    "source_files": "RectangleDissolve/Classes/**/*",
    "pushed_with_swift_version": "3.0"

Pin It on Pinterest

Share This