FJSTransitionController setup and use in View Controller not main app delegate
- by elliotrock
I am trying to set up Corey Floyd's FJSTransitionController. My app uses a main view controller to manage the main view navigation.
I also went through the source to fix it for ARC.
Followed instructions and in my main delegate .h I have in the usual spots:
FJTransitionController* mainTransitionController;
@property (nonatomic,retain) FJTransitionController* mainTransitionController;
delegate .m has the following
@synthesize mainTransitionController
And in the - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
mainTransitionController=[[FJTransitionController alloc] init]; // do I need to instantise?
[self.window addSubview:mainTransitionController.view];
[mainTransitionController setViewControllerClass:[[mainViewController sendMissionsPanelViewController] class] forKey:@"missionView"];
The last line is complaining that there is no @interface for FJTransitionController?
Any help please.