small medium large xlarge

22 Jan 2011, 14:36
Peter Morris (1 post)

I’m trying to follow this video but when I put a breakline on the code to call appDelegate.recipeClicked nothing happens. I have checked in the debugger and it would appear that appDelegate is nil.

// // RecipesViewController.h // Recipes // // Created by Peter Morris on 22/01/2011. // Copyright 2011 MyCompanyName. All rights reserved. //

import <UIKit/UIKit.h>

@class RecipesAppDelegate;

@interface RecipesViewController : UIViewController <UITableViewDataSource, UITableViewDelegate> { IBOutlet RecipesAppDelegate *appDelegate; }


In MainWindow within IB I have linked the RecipesView.appDelegate to FilesOwner (UIApplication) so it should be linked up and yet it isn’t. As far as I can see I followed the instructions correctly.

Any help appreciated, especially seeing as I only have weekends to work on stuff like this :-)


You must be logged in to comment