TransitionTreasury icon indicating copy to clipboard operation
TransitionTreasury copied to clipboard

TRPresentTransitionMethod is not recognized as a type

Open cytryn opened this issue 9 years ago • 10 comments

Just followed you basic readme file with the example and could not recognize TRPresentTransitionMethod

So I created it myself but anyway couldn't get to work.

Also your demo project just don't go straight to the point, its very confusing...

tr_presentViewController(vc, method: TRPresentTransitionMethod.Fade, completion: {
            print("Present finished.")
        })

cytryn avatar May 21 '16 05:05 cytryn

Maybe you need perform

$ pod install

dianqk avatar May 21 '16 10:05 dianqk

It has been done.

Problem was after that.

cytryn avatar May 24 '16 00:05 cytryn

I have the same issue too. Any solutions? I also did pod install

thongtran715 avatar Jul 11 '16 02:07 thongtran715

@thongtran715 I ended up creating my own transition. Better than using a pod anyway... :P

cytryn avatar Jul 11 '16 19:07 cytryn

Same issue here. Use of unresolved identifier 'TRPresentTransitionMethod'

donirn avatar Jul 26 '16 03:07 donirn

Problem solved by adding TransitionAnimation pod 'TransitionAnimation' and import TransitionAnimation before using TRPresentTransitionMethod import TransitionAnimation

donirn avatar Jul 26 '16 07:07 donirn

@DianQK please add TransitionAnimation on the podspec

lfarah avatar Aug 22 '16 07:08 lfarah

Hi~ @lfarah I have add TransitionAnimation .

https://github.com/DianQK/TransitionTreasury/blob/master/TransitionAnimation.podspec

https://cocoapods.org/?q=TransitionAnimation

dianqk avatar Aug 22 '16 08:08 dianqk

As you can see HERE, you can add a dependency on your podcast so people don't have to install 2 libraries: s.dependency '1PasswordExtension', '1.8.2'

lfarah avatar Aug 22 '16 08:08 lfarah

@lfarah I think we often just need TransitionTreasury which help us manage custom transition animation easy. TransitionAnimation is not a common animation, when we build a app, we often have own animation. So I separated TransitionAnimation.

dianqk avatar Aug 22 '16 10:08 dianqk