marcosgriselli / ViewAnimator

ViewAnimator brings your UI to life with just one line
MIT License
7.3k stars 488 forks source link

Reversed animations #22

Closed jpv123 closed 6 years ago

jpv123 commented 6 years ago

Expected Behavior

There should be a parameter for reversed animation

Actual Behavior

No method found. Seems to be removed from last versions

Steps to Reproduce the Problem

Make a simple project, try to find the following method of tableView example

tableView.animateViews(animations: [animation], reversed: true, initialAlpha: 1.0, finalAlpha: 0.0,
                               completion: {
                                self.tableView.restoreViewsToIdentity()
                                self.tableView.reloadData()
                                self.activityIndicator.startAnimating()
        })

No method found with current version

Specifications

Swift 4, iOS 11, 1.0.4 version of ViewAnimator

jpv123 commented 6 years ago

Sorry, my fault. It was a problem with my Cocoapods installing version 1.0.2, not 1.0.4. For anyone having this problem in the future just run pod repo update before your pod install to make sure that last version will be downloaded