TransitionTreasury icon indicating copy to clipboard operation
TransitionTreasury copied to clipboard

Generic parameter T ?

Open midgard opened this issue 8 years ago • 3 comments

My code is here:

let MainStoryBoard = UIStoryboard(name: "Main", bundle: nil);
let ForgotPasswordVC = MainStoryBoard.instantiateViewController(withIdentifier: "ForgotPasswordVC");
navigationController?.tr_pushViewController(ForgotPasswordVC, method: TRPushTransitionMethod.page);`

I'm getting this error:

Generic parameter 'T' could not be inferred

midgard avatar Jan 04 '17 17:01 midgard

up

amcuserguy avatar Feb 22 '17 14:02 amcuserguy

You must add NavgationTransitionable to second view controller

manhcuong27 avatar Apr 02 '17 04:04 manhcuong27

hi i think the issue is not just only add NavgationTransitionable, i had to do pod 'TransitionAnimation', '~> 5.0' and import TransitionAnimation in the FirstViewController this works for me, hope it helps you.

QiProject avatar Jul 12 '18 01:07 QiProject