Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

TRPresentTransitionMethod is not recognized as a type #18

Open
cytryn opened this issue May 21, 2016 · 10 comments
Open

TRPresentTransitionMethod is not recognized as a type #18

cytryn opened this issue May 21, 2016 · 10 comments

Comments

@cytryn
Copy link

cytryn commented May 21, 2016

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.")
        })
@DianQK
Copy link
Owner

DianQK commented May 21, 2016

Maybe you need perform

$ pod install

@cytryn
Copy link
Author

cytryn commented May 24, 2016

It has been done.

Problem was after that.

@thongtran715
Copy link

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

@cytryn
Copy link
Author

cytryn commented Jul 11, 2016

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

@donirn
Copy link

donirn commented Jul 26, 2016

Same issue here.
Use of unresolved identifier 'TRPresentTransitionMethod'

@donirn
Copy link

donirn commented Jul 26, 2016

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

@lfarah
Copy link

lfarah commented Aug 22, 2016

@DianQK please add TransitionAnimation on the podspec

@DianQK
Copy link
Owner

DianQK commented Aug 22, 2016

@lfarah
Copy link

lfarah commented Aug 22, 2016

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'

@DianQK
Copy link
Owner

DianQK commented Aug 22, 2016

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants