andreamazz / BubbleTransition

A custom modal transition that presents and dismiss a controller with an expanding bubble effect.
MIT License
3.32k stars 250 forks source link

Cannot use BubbleInteractiveTransition #56

Closed lyx0124 closed 5 years ago

lyx0124 commented 5 years ago

Thanks for this library! But after I added it to my project using cocoapods, I can't use BubbleInteractiveTransition class. However, I can use BubbleTransition. And I checked "BubbleTransition.swift" file, it seems that there is no BubbleInteractiveTransition class at all. I don't why this happens.

andreamazz commented 5 years ago

It's here

Are you using objective-C?

lyx0124 commented 5 years ago

I'm using swift. There indeed is a BubbleInteractiveTransition class in github file. However the file I installed to my project through cocoapods doesn't. It's very strange. The "BubbleTransition.swift" file is different to the one on github.

andreamazz commented 5 years ago

I just tested it out, it pulls the correct version (3.2.0)
Maybe you are pulling an older version, check the cocoapods install output, it should read:

Installing BubbleTransition (3.2.0)
lyx0124 commented 5 years ago

It seems the README file still says pod 'BubbleTransition', '~> 3.0.0'. After changing my pod to 3.2.0, everything worked out just fine. Thanks for your help!