FJSTransitionController setup and use in View Controller not main app delegate

Posted by elliotrock on Stack Overflow See other posts from Stack Overflow or by elliotrock
Published on 2012-06-18T07:47:53Z Indexed on 2012/06/18 9:16 UTC
Read the original article Hit count: 174

Filed under:

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.

© Stack Overflow or respective owner

Related posts about objective-c